<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="version" content="For Json viewer">
    <title>ApiPost接口文档</title>
    <link href="https://img.cdn.apipost.cn/v6/docs/img/doc_favicon.ico" rel="shortcut icon" type="image/x-icon">
    <link rel="stylesheet" type="text/css" href="https://img.cdn.apipost.cn/docs/css/reset.css">
    <link rel="stylesheet" type="text/css" href="https://img.cdn.apipost.cn/docs/css/font-awesome-4.7.0/css/font-awesome.css">
    <link rel="stylesheet" href="https://img.cdn.apipost.cn/docs/css/github.css">
    <script type="text/javascript"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js/jquery-3.4.1.min.js"></script>
    <script src="https://img.cdn.apipost.cn/docs/js/colResizable-1.6.min.js"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js/marked.min.js"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js/template-web.js"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js/highlight.js"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js/clipboard.min.js"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/statics/libs/crypto-js/crypto-js.min.js" charset="utf-8"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js/json5.min.js"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/js/enc.min.js"></script>
    <script type="text/javascript" src="https://img.cdn.apipost.cn/docs/json-viewer/json-viewer.min.js"></script>
    <script src="https://img.cdn.apipost.cn/docs/js/indent.js"></script>

    <script>
        Date.prototype.format = function (fmt) {
            var o = {
                "M+": this.getMonth() + 1,                 //月份
                "d+": this.getDate(),                    //日
                "h+": this.getHours(),                   //小时
                "m+": this.getMinutes(),                 //分
                "s+": this.getSeconds(),                 //秒
                "q+": Math.floor((this.getMonth() + 3) / 3), //季度
                "S": this.getMilliseconds()             //毫秒
            };
            if (/(y+)/.test(fmt)) {
                fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
            }
            for (var k in o) {
                if (new RegExp("(" + k + ")").test(fmt)) {
                    fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
                }
            }
            return fmt;
        }
    </script>
    <style type="text/css">
        .preview-markdown table td {
            position: relative;
        }

        .indent-fold {
            border: 0;
            background: transparent;
            position: absolute;
            left: -25px;
            top: 10px;
            font-size: 24px;
            color: #999;
            cursor: pointer;
            text-align: center;
            width: 15px;
            height: 15px;
            padding: 0;
        }

        .indent-fold img {
            position: static !important;
            transform: translateY(0);
        }

        .indent-fold.right img {
            transform: rotate(0);
        }

        .indent-fold.down img {
            transform: rotate(-90deg);
        }
    </style>

    <link rel="stylesheet" href="https://img.cdn.apipost.cn/docs/css/docs.css">
    <link rel="stylesheet" href="https://img.cdn.apipost.cn/docs/css/v6.css">
    <link rel="stylesheet" href="https://img.cdn.apipost.cn/docs/css/jsonview.css">
    <style>
       .body .box{
            height: calc(100vh - 60px);
        }

        .JCLRgrip .JColResizer {
            cursor: col-resize;
        }

        table tr td,
        th {
            text-indent: 8px;
        }

        .JColResizer>tbody>tr>td,
        .JColResizer>tbody>tr>th {
            overflow: visible !important;
        }
    </style>
</head>

<body>
<!-- <body> -->
<div class="body">
    <div class="doc-head">
        <div class="left">
            <a href="https://www.apipost.cn/" target="_blank" title="ApiPost接口与文档管理系统">
                <img src="https://img.cdn.apipost.cn/v6/docs/img/logov6.svg" alt="ApiPost接口与文档管理系统">
            </a>
        </div>
        <div class="container">

        </div>
    </div>
    <div class="box">
        <div class="box-first" style="display: flex; flex-direction: column;justify-content: flex-end;">
            <div class="sreachInput">
                <img src="https://img.cdn.apipost.cn/v6/docs/img/search.svg" alt="">
                <input type="text" class="search" placeholder="搜索目录/接口">
            </div>
            <div class="title">

            </div>
            <div class="target top" data-target_id="001">
                <div class="globals_select"></div>
                全局参数
            </div>
            <div class="new">

            </div>
            <!-- <a href="https://www.toutiao.com/i6960487351701275149/" id = "advertise" target="_blank" style="display: inline-block; width: 300px;height: 70px;background: url('https://img.cdn.apipost.cn/cdn/images/a-long-letter.svg?0424') no-repeat left"></a> -->
            <div class="bar"></div>
            <script type="text/html" id="template-target-sidebar-list-tpl">
                {{each list value}}
                <div>
                    <div class="target {{value.target_type == 'folder' ? 'folder':'api'}}"
                         data-type="{{value.target_type}}"
                         data-target_id="{{value.local_target_id}}">
                        {{if value.target_type == 'folder'}}
                        <span>
                       <span class="control">
                           {{if value.children}}
                           <div class="folder_select">

                           </div>
                           {{/if}}
                        </span>
                       <span>
                         <div class="img">

                         </div>
                         {{value.name}}
                        </span>
                       </span>
                        {{else}}
                        <span>
                         <em class="{{((value.target_type == 'doc') || (value.target_type == 'example' && value.is_doc == 1)) ? 'DOC' : value.target_type != 'example' ? value.method : value.method}}">{{(value.target_type == 'doc' || (value.target_type == 'example' && value.is_doc == '1')) ? '文本' :  value.method == 'OPTIONS' ? 'OPT' : value.method == 'DELETE' ? 'DEL' : value.method == 'UNLINK' ? 'UNLNK' : value.method == 'UNLOCK' ? 'UNLCK' : value.method == 'PROPFIND' ? 'PROP' : value.method}}</em>
                       <span>{{value.name}}</span>
                       </span>
                        <span></span>
                        {{/if}}
                    </div>
                    {{if value.children!=null}}
                    {{each value.children data}}
                    {{set a=data["index"]=3}}
                    {{include 'list1' data}}
                    {{/each}}
                    {{/if}}
                </div>
                {{/each}}
            </script>
            <script type="text/html" id="list1">
                <div>
                    <div class="target {{target_type == 'folder' ? 'folder':'api'}}" data-type="{{target_type}}"
                         data-target_id="{{local_target_id}}"
                         style="padding-left:{{index * 15}}px">
                        {{if target_type == 'folder'}}
                        <span>
                           <span class="control">
                              {{if children}}
                              <div class="folder_select">

                              </div>
                              {{/if}}
                            </span>
                        <span>
                           <div class="img">

                         </div>
                          {{name}}
                        </span>
                       </span>
                        {{else}}
                        <span>
                          <em class="{{((target_type == 'doc') || (target_type == 'example' && is_doc == 1)) ? 'DOC' : target_type != 'example' ? method : method}}">{{(target_type == 'doc' || (target_type == 'example' && is_doc == '1')) ? '文本' :  method == 'OPTIONS' ? 'OPT' : method == 'DELETE' ? 'DEL' : method == 'UNLINK' ? 'UNLNK' : method == 'UNLOCK' ? 'UNLCK' : method == 'PROPFIND' ? 'PROP' : method}}</em>
                          <span>{{name}}</span>
                          </span>
                        <span></span>
                        {{/if}}
                    </div>
                    {{if children!=null}}
                    {{each children data}}
                    {{if index}}
                    {{set b=data.index=index+1}}
                    {{else}}
                    {{set c=data["index"] = 3}}
                    {{/if}}
                    {{include 'list1' data}}
                    {{/each}}
                    {{/if}}
                </div>
            </script>
        </div>
        <div class="box-third">
            <div class=" preview-markdown">

            </div>
            <div style="width: 100%;">

            </div>
            <div class="box-nav" style="background: #fff;">
                <ul class="api template-nav-menu">
                    <script type="text/html" id="template-nav-menu-tpl">
                        <!--                            {{if target_type == "api" || target_type == "folder" || (target_type == "example" && is_doc == 0) }}-->
                        {{if request.description}}
                        <li class="cur nav-btn" data-id="0" style="display: block"><a href="javascript:;">
                                <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                接口说明</a></li>
                        <li class="nav-btn" data-id="1"><a href="javascript:;">
                                <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                基本信息</a></li>
                        {{else}}
                        <li class="nav-btn" data-id="0" style="display: none"><a href="javascript:;">
                                <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                接口说明</a></li>
                        <li class="cur nav-btn" data-id="1"><a href="javascript:;">
                                <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                基本信息</a></li>
                        {{/if}}
                        <!--                            {{/if}}-->
                        {{if request.header.parameter.length > 0 || request.query.parameter.length > 0 ||
                        request.resful.parameter.length > 0 || request.body.parameter.length>0 || request.body.raw !=''}}
                        <li class="nav-btn" data-id="2" style="display: block"><a href="javascript:;">
                                <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                请求参数</a></li>
                        {{else}}
                        <li class="nav-btn" data-id="2" style="display: none"><a href="javascript:;">
                                <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                请求参数</a></li>
                        {{/if}}
                        <ul>
                            {{if request.header.parameter.length > 0}}
                            <li class="nav-btn" data-id="3" style="display: block"><a href="javascript:;">
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                    header参数及说明</a></li>
                            {{else}}
                            <li class="nav-btn" data-id="3" style="display: none"><a href="javascript:;">
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                    header参数及说明</a></li>
                            {{/if}}
                            {{if request.query.parameter.length > 0}}
                            <li class="nav-btn" data-id="4" style="display: block"><a href="javascript:;">
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                    query参数及说明</a></li>
                            {{else}}
                            <li class="nav-btn" data-id="4" style="display: none"><a href="javascript:;">
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                    query参数及说明</a></li>
                            {{/if}}
                            {{if request.resful.parameter.length > 0}}
                            <li class="nav-btn" data-id="5" style="display: block"><a href="javascript:;">
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                    路径参数及说明</a></li>
                            {{else}}
                            <li class="nav-btn" data-id="5" style="display: none"><a href="javascript:;">
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                    路径参数及说明</a></li>
                            {{/if}}

                            {{if request?.auth?.type && request?.auth?.type != 'noauth'}}
                            <li class="nav-btn" data-id="6" style="display: block"><a href="javascript:;">
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                    认证及说明</a></li>
                            {{else}}
                            <li class="nav-btn" data-id="6" style="display: none"><a href="javascript:;">
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                    认证及说明</a></li>
                            {{/if}}
                            {{if request.body.parameter.length>0 || request.body.raw !='' }}
                            <li class="nav-btn" data-id="7" style="display: block"><a href="javascript:;">
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                    body参数及说明</a></li>
                            {{else}}
                            <li class="nav-btn" data-id="7" style="display: none"><a href="javascript:;">
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                    body参数及说明</a></li>
                            {{/if}}
                            <!--                        <li class="nav-btn" data-id="6"><a href="javascript:;">预执行脚本</a></li>-->
                            <!--                        <li class="nav-btn" data-id="7"><a href="javascript:;">后执行脚本</a></li>-->

                        </ul>
                        {{if response.success.raw || response.success.parameter.length > 0 || response.error.raw ||
                        response.error.parameter.length > 0}}
                        <li class="nav-btn" data-id="8" style="display: block"><a href="javascript:;">
                                <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                响应示例</a></li>
                        {{else}}
                        <li class="nav-btn" data-id="8" style="display:none"><a href="javascript:;">
                                <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                响应示例</a></li>
                        <!-- <ul>-->
                        <!--                            {{if response.success.raw || response.success.parameter.length > 0}}-->
                        <!--                            <li class="nav-btn" data-id="9"><a href="javascript:;">成功响应示例</a></li>-->
                        <!--                            {{/if}}-->
                        <!---->
                        <!--                            {{if response.error.raw || response.error.parameter.length > 0}}-->
                        <!--                            <li class="nav-btn" data-id="10"><a href="javascript:;">失败响应示例</a></li>-->
                        <!--                            {{/if}}-->
                        <!--                        </ul> -->
                        {{/if}}
                    </script>
                </ul>

                <ul class="folder">
                    <li class="cur nav-folder-btn" data-id="0"><a href="javascript:;">
                            <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                            目录说明</a></li>
                    <li class="nav-folder-btn" data-id="1"><a href="javascript:;">
                            <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                            公共参数</a></li>
                    <ul>
                        <li class="nav-folder-btn" data-id="2"><a href="javascript:;">
                                <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                header参数及说明</a></li>
                        <li class="nav-folder-btn" data-id="3"><a href="javascript:;">
                                <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                query参数及说明</a></li>
                        <li class="nav-folder-btn" data-id="4"><a href="javascript:;">
                                <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                body参数及说明</a></li>
                        <li class="nav-folder-btn" data-id="5"><a href="javascript:;">
                                <img src="https://img.cdn.apipost.cn/v6/docs/img/arrow.svg" alt="">
                                认证及说明</a></li>
                        <!-- <li class="nav-folder-btn" data-id="4"><a href="javascript:;">预执行脚本</a></li>-->
                        <!-- <li class="nav-folder-btn" data-id="5"><a href="javascript:;">后执行脚本</a></li>-->
                    </ul>
                </ul>

            </div>
            <script type="text/html" id="template-example-doc-tpl">
                <h2 class="top" style="display: block">
                    <div style="display: flex;align-items: center;">
                        <span>{{name}}</span>
                        {{if target_type != 'folder'}}
                        <!-- <button title="复制当前文档/接口数据到剪贴板" class="CopyCurrentData" data-clipboard-action="copy" data-clipboard-text="" data-target_id="{{local_target_id}}">
                          <img src="https://img.cdn.apipost.cn/v6/docs/img/copy.svg" alt="" style="margin-right:2px">
                          复制接口
                          <a  style="margin-left:2px" href="https://wiki.apipost.cn/document/00091641-1e36-490d-9caf-3e47cd38bcde/0b622ce8-68c0-4a00-88ba-287bdae336ad" target="_blank" rel="noopener noreferrer">
                            <img style="cursor: pointer;" src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg"  alt="">
                          </a>
                        </button> -->
                        <!-- <button class="opneApis" data-target_id="{{local_target_id}}">
                          <img src="https://img.cdn.apipost.cn/v6/docs/img/open.svg" alt="">
                          在工作台打开
                        </button> -->
                        <!-- <a href="https://wiki.apipost.cn/document/00091641-1e36-490d-9caf-3e47cd38bcde/0b622ce8-68c0-4a00-88ba-287bdae336ad" title="什么是复制接口？" target="_blank"><i class="fa fa-question-circle-o" aria-hidden="true"></i></a> -->
                        {{/if}}
                    </div>
                    <span class="metadata">创建人：{{create_users.create_user}} &nbsp;&nbsp;&nbsp;&nbsp; 最后更新：{{create_users.update_user}} &nbsp;&nbsp;&nbsp;&nbsp;更新时间：{{@dateFormat(update_dtime * 1000,'yyyy-MM-dd hh:mm:ss')}}</span>
                </h2>
                {{if target_type == 'folder'}}
                <h3 class="title" style="{{request.description ? 'visibility: visible;':'visibility:hidden;height:0;margin:0;'}}" ><a href="javascript:;" class="maodian">
                        <img src="https://img.cdn.apipost.cn/v6/docs/img/book.svg" alt="">
                    </a> 目录说明 <i class="fa fa-angle-down"></i></h3>
                {{if request.description}}
                <div class="editor-preview desc markdown-section">
                    {{@marked(request.description)}}
                </div>
                {{/if}}
                {{else}}
                <h3 class="title" style="{{request.description ? 'visibility: visible;':'visibility:hidden;height:0;margin:0;'}}" ><a href="javascript:;" class="maodian">
                        <img src="https://img.cdn.apipost.cn/v6/docs/img/book.svg" alt="">
                    </a> 接口说明 <i class="fa fa-angle-down"></i></h3>
                {{if request.description}}
                <div class="editor-preview desc markdown-section">
                    {{@marked(request.description)}}
                </div>
                {{/if}}
                {{/if}}
                {{if (target_type == 'example' && is_doc == '0') || target_type == 'api'}}
                <h3 class="title"><a href="javascript:;" class="maodian">
                        <img src="https://img.cdn.apipost.cn/v6/docs/img/info.svg" alt="">
                    </a> 基本信息 <i class="fa fa-angle-down"></i></h3>
                <ul class="editor-preview-info">
                    <li><strong>接口状态：</strong> <code class="span" style="color: {{markColor}};">{{markName}}</code></li>
                    <li><strong>接口URL：</strong> <code class="span">{{request.url ? request.url : 'url为空...'}}</code>
                    </li>
                    <li><strong>请求方式：</strong> <code class="span">{{method}}</code></li>
                    <li><strong>Content-Type：</strong> <code class="span">{{request.body.mode}}</code></li>
                </ul>

                <h3 class="title" style="{{request.header.parameter.length > 0 || request.query.parameter.length > 0 || request.resful.parameter.length > 0 || request.body.parameter.length>0 ||request.body.raw !='' || (request?.auth?.type && request?.auth?.type != 'noauth') ? 'visibility:visible':'visibility:hidden;height:0;margin:0;'}}"><a href="javascript:;" class="maodian">
                        <img src="https://img.cdn.apipost.cn/v6/docs/img/globals.svg" alt="">
                    </a> 请求参数 <i class="fa fa-angle-down"></i></h3>
                {{if request.header.parameter.length > 0 || request.query.parameter.length > 0 || request.resful.parameter.length > 0 || request.body.parameter.length>0 ||request.body.raw !='' || (request?.auth?.type && request?.auth?.type != 'noauth')}}
                <div class="markdown-request">
                    <h4 class="title" style="{{request.header.parameter.length > 0? 'visibility:visible':'visibility:hidden;height:0;margin:0;'}}"><a href="javascript:;" class="maodian"></a> Header参数及说明</h4>
                    {{if request.header.parameter.length > 0}}
                    <div>
                        <table>
                            <tr>
                                <th>参数名</th>
                                <th>示例值</th>
                                <th>参数类型</th>
                                <th>是否必填</th>
                                <th>参数描述</th>
                            </tr>
                            {{each request.header.parameter item}}
                            {{if item.key}}
                            <tr>
                                <td>
                                    {{if item.key_var}}
                                    {{item.key_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.key}} 生成
                                    </div>
                                    {{else}}
                                    {{item.key}}
                                    {{/if}}
                                </td>
                                <td>
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    {{item.value == '' ? '-' : item.value }}
                                    {{/if}}
                                </td>
                                <td>{{item.field_type == "" || item.field_type == "[]"? (typeof item.value) :
                                    item.field_type}}
                                </td>
                                <td>{{item.not_null == "1" ? '是' : '否'}}</td>
                                <td><pre>{{item.description == '' ? '-' : item.description }}</pre></td>
                            </tr>
                            {{/if}}
                            {{/each}}
                        </table>
                    </div>
                    {{/if}}

                    <h4 class="title" style="{{request.query.parameter.length > 0 ? 'visibility:visible':'visibility:hidden;height:0;margin:0;'}}"><a href="javascript:;" class="maodian"></a> Query参数及说明</h4>
                    {{if request.query.parameter.length > 0}}
                    <div>
                        <table>
                            <tr>
                                <th>参数名</th>
                                <th>示例值</th>
                                <th>参数类型</th>
                                <th>是否必填</th>
                                <th>参数描述</th>
                            </tr>

                            {{each request.query.parameter item}}
                            {{if item.key}}
                            <tr>
                                <td>
                                    {{if item.key_var}}
                                    {{item.key_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.key}} 生成
                                    </div>
                                    {{else}}
                                    {{item.key}}
                                    {{/if}}
                                </td>
                                <td>
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    {{item.value == '' ? '-' : item.value }}
                                    {{/if}}
                                </td>
                                <td>{{item.field_type == "" || item.field_type == "[]"? (typeof item.value) :
                                    item.field_type}}
                                </td>
                                <td>{{item.not_null == "1" ? '是' : '否'}}</td>
                                <td><pre>{{item.description == '' ? '-' : item.description }}</pre></td>
                            </tr>
                            {{/if}}
                            {{/each}}
                        </table>
                    </div>
                    {{/if}}

                    <h4 class="title" style="{{request.resful.parameter.length ? 'visibility:visible':'visibility:hidden;height:0;margin:0;'}}"><a href="javascript:;" class="maodian"></a> 路径参数及说明</h4>
                    {{if request.resful.parameter.length > 0}}
                    <div>
                        <table>
                            <tr>
                                <th>参数名</th>
                                <th>示例值</th>
                                <!--
                                <th>参数类型</th>
                                <th>是否必填</th>
                                -->
                                <th>参数描述</th>
                            </tr>

                            {{each request.resful.parameter item}}
                            {{if item.key}}
                            <tr>
                                <td>
                                    {{if item.key_var}}
                                    {{item.key_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.key}} 生成
                                    </div>
                                    {{else}}
                                    {{item.key}}
                                    {{/if}}
                                </td>
                                <td>
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    {{item.value == '' ? '-' : item.value }}
                                    {{/if}}
                                </td>
                                <!--
                                <td>{{item.field_type == "" || item.field_type == "[]"? (typeof item.value) :
                                    item.field_type}}
                                </td>
                                <td>{{item.not_null == "1" ? '是' : '否'}}</td>
                                -->
                                <td><pre>{{item.description == '' ? '-' : item.description }}</pre></td>
                            </tr>
                            {{/if}}
                            {{/each}}
                        </table>
                    </div>
                    {{/if}}

                    <h4 class="title" style="{{ request?.auth.type && request?.auth.type != 'noauth' ? 'visibility:visible':'visibility:hidden;height:0;margin:0;'}}"><a href="javascript:;" class="maodian"></a> 认证及说明</h4>
                    {{if request?.auth.type && request?.auth.type != 'noauth'}}
                    <div>
                        {{if request?.auth?.type == 'kv'}}
                        <table class="auth">
                            <tr>
                                <td>认证类型：私密键值对</td>
                                <td> 键： {{request?.auth?.kv?.key}}</td>
                                <td> 值：{{request?.auth?.kv?.value}}</td>
                            </tr>
                        </table>
                        {{/if}}
                        {{if request.auth.type == 'basic'}}
                        <table class="auth">
                            <tr>
                                <td>认证类型：Basic auth认证</td>
                                <td>用户名： {{request?.auth?.basic?.username}}</td>
                                <td>密码： {{request?.auth?.basic?.password}}</td>
                            </tr>
                        </table>
                        {{/if}}
                        {{if request?.auth?.type == 'bearer'}}
                        <table class="auth">
                            <tr>
                                <td>认证类型：Bearer auth认证</td>
                                <td>Token：{{request?.auth?.bearer?.key}}</td>
                            </tr>
                        </table>
                        {{/if}}
                    </div>
                    {{/if}}

                    <h4 class="title" style="{{request.body.parameter.length > 0 || request.body.raw !='' ? 'visibility:visible':'visibility:hidden;height:0;margin:0;'}}"><a href="javascript:;" class="maodian"></a> body参数及说明</h4>
                    {{if request.body.parameter.length>0 ||request.body.raw !='' }}
                    {{if request.body.mode == 'form-data' || request.body.mode == 'multipart/form-data' ||
                    request.body.mode =='application/x-www-form-urlencoded' || request.body.mode=="urlencoded"}}
                    <div>
                        <table>
                            <tr>
                                <th>参数名</th>
                                <th>示例值</th>
                                <th>参数类型</th>
                                <th>是否必填</th>
                                <th>参数描述</th>
                            </tr>
                            {{if request.body.parameter.length > 0}}
                            {{each request.body.parameter item}}
                            {{if item.key}}
                            <tr>
                                <td>
                                    {{if item.key_var}}
                                    {{item.key_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.key}} 生成
                                    </div>
                                    {{else}}
                                    {{item.key}}
                                    {{/if}}
                                </td>
                                <td>
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    {{item.value == '' ? '-' : item.value }}
                                    {{/if}}
                                </td>
                                <td>{{item.field_type == "" || item.field_type == "[]"? (typeof item.value) :
                                    item.field_type}}
                                </td>
                                <td>{{item.not_null == "1" ? '是' : '否'}}</td>
                                <td><pre>{{item.description == '' ? '-' : item.description }}</pre></td>
                            </tr>
                            {{/if}}
                            {{/each}}
                            {{else}}
                            <tr>
                                <td colspan="5" style="text-align:center">暂无数据</td>
                            </tr>
                            {{/if}}
                        </table>
                    </div>
                    {{else}}
                    <div class="editor-preview">
                        <input type="hidden" id="request_body_raw_editor_input" value="{{request.body.raw}}">
                        <pre id="request_body_raw_editor_json"><code class="hljs json">{{request.body.raw}}</code></pre>

                        <!-- <pre><code class="hljs json">{{request.body.raw}}</code></pre> -->
                    </div>
                    {{if request.body.raw_para.length > 0}}
                    <h4><a href="javascript:;" class="maodian"></a> 字段描述</h4>
                    <table>
                        <tr>
                            <th>参数名</th>
                            <th>示例值</th>
                            <th>参数类型</th>
                            <!-- <th>是否必填</th> -->
                            <th>参数描述</th>
                        </tr>
                        {{each request.body.raw_para item}}
                        {{if item.key}}
                        <tr>
                            <td>{{@keyFormat(item.key)}}</td>
                            <td>{{item.value == '' ? '-' : item.value }}</td>
                            <td>{{item.field_type}}</td>
                            <!-- <td>{{item.not_null == "1" ? '是' : '否'}}</td> -->
                            <td><pre>{{item.description == '' ? '-' : item.description }}</pre></td>
                        </tr>
                        {{/if}}
                        {{/each}}
                    </table>
                    {{/if}}
                    {{/if}}
                    <!--                    {{if request.event.pre_script != ''}}-->
                    <!--                    <h4 class="title"><a href="javascript:;" class="maodian"></a> 预执行脚本</h4>-->
                    <!--                    <div class="editor-preview">-->
                    <!--                        <pre><code class="hljs">{{request.event.pre_script}}</code></pre>-->
                    <!--                    </div>-->
                    <!--                    {{/if}}-->
                    <!--                    {{if request.event.test != ''}}-->
                    <!--                    <h4 class="title"><a href="javascript:;" class="maodian"></a> 后执行脚本</h4>-->
                    <!--                    <div class="editor-preview">-->
                    <!--                        <pre><code class="hljs">{{request.event.test}}</code></pre>-->
                    <!--                    </div>-->
                    <!--                    {{/if}}-->

                    {{/if}}
                </div>
                {{/if}}
                <!--respond-->

                <h3 class="title" style="{{response.success.raw || response.success.parameter.length > 0 || response.error.raw || response.error.parameter.length > 0 ? 'visibility: visible;':'visibility: hidden'}}"><a href="javascript:;" class="maodian">
                        <img src="https://img.cdn.apipost.cn/v6/docs/img/globals.svg" alt="">
                    </a> 响应示例<i class="fa fa-angle-down"></i></h3>
                {{if response.success.raw || response.success.parameter.length > 0 || response.error.raw || response.error.parameter.length > 0}}
                <div class="markdown-response">
                    {{if response.success.raw || response.success.parameter.length > 0}}
                    <h4 ><a href="javascript:;" class="maodian"></a> 成功响应示例</h4>
                    <div class="editor-preview">
                        <input type="hidden" id="response_success_editor_input" value="{{response.success.raw}}">
                        <pre id="response_success_editor_json"><code class=" json">{{response.success.raw}}</code></pre>
                    </div>
                    {{if response.success.parameter.length > 0}}
                    <h4><a href="javascript:;" class="maodian"></a> 字段描述</h4>
                    <table class="response-parameter">
                        <tr>
                            <th>参数名</th>
                            <th>示例值</th>
                            <th>参数类型</th>
                            <th>参数描述</th>
                        </tr>
                        {{each response.success.parameter item}}
                        <tr>
                            <td>{{@keyFormat(item.key)}}</td>
                            <td>{{item.value == '' ? '-' : item.value }}</td>
                            <td>{{item.field_type}}</td>
                            <td><pre>{{item.description == '' ? '-' : item.description }}</pre></td>
                        </tr>
                        {{/each}}
                    </table>
                    {{/if}}
                    {{/if}}
                    {{if response.error.raw || response.error.parameter.length > 0}}
                    <h4 ><a href="javascript:;" class="maodian"></a> 失败响应示例</h4>
                    <div class="editor-preview">
                        <input type="hidden" id="response_error_editor_input" value="{{response.error.raw}}">
                        <pre id="response_error_editor_json">
                            <code class="hljs json">{{response.error.raw}}</code>
                        </pre>
                    </div>
                    {{if response.error.parameter.length > 0}}
                    <h4><a href="javascript:;" class="maodian"></a> 字段描述</h4>
                    <table class="response-parameter">
                        <tr>
                            <th>参数名</th>
                            <th>示例值</th>
                            <th>参数类型</th>
                            <th>参数描述</th>
                        </tr>
                        {{each response.error.parameter item}}
                        <tr>
                            <td>{{@keyFormat(item.key)}}</td>
                            <td>{{item.value == '' ? '-' : item.value }}</td>
                            <td>{{item.field_type}}</td>
                            <td><pre>{{item.description == '' ? '-' : item.description }}</pre></td>
                        </tr>
                        {{/each}}
                    </table>
                    {{/if}}
                    {{/if}}
                </div>
                {{/if}}
                {{else if target_type == 'folder'}}
                <h3 class="title"><a href="javascript:;" class="maodian">
                        <img src="https://img.cdn.apipost.cn/v6/docs/img/globals.svg" alt="">
                    </a>公共参数<i class="fa fa-angle-down"></i></h3>
                <div class="markdown-request">
                    <h4 class="title" style="{{ request.header.length > 0 ?'visibility:visible':'visibility:hidden;height:0;margin:0;'}}"><a href="javascript:;" class="maodian"></a> Header参数及说明</h4>
                    {{if request.header.length > 0}}
                    <div>
                        <table class="header">
                            <tr>
                                <th>参数名</th>
                                <th>示例值</th>
                                <!-- <th>参数类型</th> -->
                                <th>参数描述</th>
                            </tr>
                            {{each request.header item}}
                            {{if item.key}}
                            <tr>
                                <td>
                                    {{if item.key_var}}
                                    {{item.key_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.key}} 生成
                                    </div>
                                    {{else}}
                                    {{item.key}}
                                    {{/if}}
                                </td>
                                <td>
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    {{item.value == '' ? '-' : item.value}}
                                    {{/if}}
                                </td>
                                <!-- <td>{{item.field_type == "" || item.field_type == "[]"? (typeof item.value) :
                                    item.field_type}}
                                </td> -->
                                <td><pre>{{item.description == '' ? '-' : item.description }}</pre></td>
                            </tr>
                            {{/if}}
                            {{/each}}
                        </table>
                    </div>
                    {{/if}}
                    <h4 class="title" style="{{ request.query.length > 0 ?'visibility:visible':'visibility:hidden;height:0;margin:0;'}}"><a href="javascript:;" class="maodian"></a> Query参数及说明</h4>
                    {{if request.query.length > 0}}
                    <div>
                        <table class="query">
                            <tr>
                                <th>参数名</th>
                                <th>示例值</th>
                                <!-- <th>参数类型</th> -->
                                <th>参数描述</th>
                            </tr>
                            {{each request.query item}}
                            {{if item.key}}
                            <tr>
                                <td>
                                    {{if item.key_var}}
                                    {{item.key_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.key}} 生成
                                    </div>
                                    {{else}}
                                    {{item.key}}
                                    {{/if}}
                                </td>
                                <td>
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    {{item.value == '' ? '-' : item.value}}
                                    {{/if}}
                                </td>
                                <!-- <td>{{item.field_type == "" || item.field_type == "[]"? (typeof item.value) :
                                    item.field_type}}
                                </td> -->
                                <td><pre>{{item.description == '' ? '-' : item.description }}</pre></td>
                            </tr>
                            {{/if}}
                            {{/each}}
                        </table>
                    </div>
                    {{/if}}
                    <h4 class="title" style="{{ request.body.length > 0 ?'visibility:visible':'visibility:hidden;height:0;margin:0;'}}"><a href="javascript:;" class="maodian"></a> Body参数及说明</h4>
                    {{if request.body.length > 0}}
                    <div>
                        <table class="body">
                            <tr>
                                <th>参数名</th>
                                <th>示例值</th>
                                <!-- <th>参数类型</th> -->
                                <th>参数描述</th>
                            </tr>
                            {{each request.body item}}
                            {{if item.key}}
                            <tr>
                                <td>
                                    {{if item.key_var}}
                                    {{item.key_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.key}} 生成
                                    </div>
                                    {{else}}
                                    {{item.key}}
                                    {{/if}}
                                </td>
                                <td>
                                    {{if item.value_var}}
                                    {{item.value_var}}
                                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                                    <div class="vars_title">
                                        变量{{item.value}} 生成
                                    </div>
                                    {{else}}
                                    {{item.value == '' ? '-' : item.value}}
                                    {{/if}}
                                </td>
                                <!-- <td>{{item.field_type == "" || item.field_type == "[]"? (typeof item.value) :
                                    item.field_type}}
                                </td> -->
                                <td><pre>{{item.description == '' ? '-' : item.description }}</pre></td>
                            </tr>
                            {{/if}}
                            {{/each}}
                        </table>
                    </div>
                    {{/if}}
                    {{if request?.auth?.type != 'noauth' && request?.auth?.type}}
                    <h4 class="title">认证及说明</h4>
                    {{if request?.auth?.type == 'kv'}}
                    <table class="auth">
                        <tr>
                            <td>认证类型：私密键值对</td>
                            <td>键：{{request?.auth?.kv?.key}}</td>
                            <td>值：{{request?.auth?.kv?.value}}</td>
                        </tr>
                    </table>
                    {{/if}}
                    {{if request.auth.type == 'basic'}}
                    <table class="auth">
                        <tr>
                            <td>认证类型：Basic auth认证</td>
                            <td>用户名：{{request?.auth?.basic?.username}}</td>
                            <td>密码：{{request?.auth?.basic?.password}}</td>
                        </tr>
                    </table>
                    {{/if}}
                    {{if request?.auth?.type == 'bearer'}}
                    <table class="auth">
                        <tr>
                            <td>认证类型：Bearer auth认证</td>
                            <td>Token：{{request?.auth?.bearer?.key}}</td>
                        </tr>
                    </table>
                    {{/if}}
                    {{/if}}
                </div>
                <!--respond-->
                {{/if}}
                <div class="footer" style="text-align: center;margin: 35px 0;height: 50px">本文档由 <a href="https://www.apipost.cn/" target="_blank" style="color:#3a86ff">APIPOST接口调试与管理工具</a> 生成</div>
            </script>
        </div>
    </div>
</div>
<script type="text/html" id="golbal-env-tpl">
    <h2 class="top">
        <span>全局参数</span>
        <span class="metadata">
            创建时间：{{@dateFormat(create_dtime * 1000,'yyyy-MM-dd hh:mm:ss')}}
            {{if expire_time != -1}}
                <span style="color: #f44336; margin-left: 15px; font-weight: bold;"> 过期时间： {{@dateFormat(expire_time * 1000,'yyyy-MM-dd hh:mm:ss')}}</span>
            {{/if}}
        </span>

    </h2>
    <div class="editor-preview desc">
    <!-- <p>本文档是nai-mall的接口文档，以下为当前项目下的公共参数。</p> -->
    </div>

    <h3 class="title">
        <a href="javascript:;" class="maodian">
            <img src="https://img.cdn.apipost.cn/v6/docs/img/globals.svg" alt="">
        </a>
        全局参数
        {{if vars?.request?.header?.length > 0 || vars?.request?.query?.length > 0 || vars?.request?.body?.length > 0 || vars?.auth?.type != 'noauth'}}
        <i class="fa fa-angle-down"></i>
        {{/if}}
    </h3>
    {{if vars?.request?.header?.length > 0 || vars?.request?.query?.length > 0 || vars?.request?.body?.length > 0 || vars?.auth?.type != 'noauth'}}
    <div>
        {{if vars.request.header.length > 0}}
        <h4>Header参数及说明</h4>
        <table>
            <tr>
                <th>参数名</th>
                <th>参数值</th>
                <th>参数描述</th>
            </tr>
            {{each vars.request.header item}}
            <tr>
                <td>
                    {{if item.key_var}}
                    {{item.key_var}}
                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                    <div class="vars_title">
                        变量{{item.key}} 生成
                    </div>
                    {{else}}
                    {{item.key}}
                    {{/if}}
                </td>
                <td>
                    {{if item.value_var}}
                    {{item.value_var}}
                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                    <div class="vars_title">
                        变量{{item.value}} 生成
                    </div>
                    {{else}}
                    {{item.value == '' ? '-' : item.value }}
                    {{/if}}
                </td>
                <td><pre>{{item.description == '' ? '-' : item.description }}</pre></td>
            </tr>
            {{/each}}
        </table>
        {{/if}}

        {{if vars.request.query.length > 0}}
        <h4>Query参数及说明</h4>
        <table>
            <tr>
                <th>参数名</th>
                <th>参数值</th>
                <th>参数描述</th>
            </tr>

            {{each vars.request.query item}}
            <tr>
                <td>
                    {{if item.key_var}}
                    {{item.key_var}}
                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                    <div class="vars_title">
                        变量{{item.key}} 生成
                    </div>
                    {{else}}
                    {{item.key}}
                    {{/if}}
                </td>
                <td>
                    {{if item.value_var}}
                    {{item.value_var}}
                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                    <div class="vars_title">
                        变量{{item.value}} 生成
                    </div>
                    {{else}}
                    {{item.value == '' ? '-' : item.value }}
                    {{/if}}
                </td>
                <td>
                    <pre>{{item.description == '' ? '-' : item.description }}</pre>
                </td>
            </tr>
            {{/each}}
        </table>
        {{/if}}

        {{if vars?.request?.body?.length > 0}}
        <h4>Body参数及说明</h4>
        <table>
            <tr>
                <th>参数名</th>
                <th>参数值</th>
                <th>参数描述</th>
            </tr>
            {{each vars?.request?.body item}}
            <tr>
                <td>
                    {{if item.key_var}}
                    {{item.key_var}}
                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                    <div class="vars_title">
                        变量{{item.key}} 生成
                    </div>
                    {{else}}
                    {{item.key}}
                    {{/if}}
                </td>
                <td>
                    {{if item.value_var}}
                    {{item.value_var}}
                    <img src="https://img.cdn.apipost.cn/v6/docs/img/vars.svg" alt="">
                    <div class="vars_title">
                        变量{{item.value}} 生成
                    </div>
                    {{else}}
                    {{item.value == '' ? '-' : item.value }}
                    {{/if}}
                </td>
                <td><pre>{{item.description == '' ? '-' : item.description }}</pre></td>
            </tr>
            {{/each}}
        </table>
        {{/if}}
        {{if vars?.auth?.type != 'noauth'}}
        <h4>认证及说明</h4>
        {{if vars?.auth?.type == 'kv'}}
        <table>
            <tr>
                <td>认证类型：私密键值对</td>
                <td>键：{{vars?.auth?.kv?.key}}</td>
                <td>值：{{vars?.auth?.kv?.value}}</td>
            </tr>
        </table>
        {{/if}}
        {{if vars.auth.type == 'basic'}}
        <table>
            <tr>
                <td>认证类型：Basic auth认证</td>
                <td>用户名：{{vars?.auth?.basic?.username}}</td>
                <td>密码：{{vars?.auth?.basic?.password}}</td>
            </tr>
        </table>
        {{/if}}
        {{if vars?.auth?.type == 'bearer'}}
        <table>
            <tr>
                <td>认证类型：Bearer auth认证</td>
                <td>Token：{{vars?.auth?.bearer?.key}}</td>
            </tr>
        </table>
        {{/if}}
        {{/if}}
        <!--        {{if vars.script.pre_script != ""}}-->
        <!--        <h4 class="title"><a href="javascript:;" class="maodian"></a> 预执行脚本</h4>-->
        <!--        <div class="editor-preview">-->
        <!--            <pre><code class="hljs">{{vars.script.pre_script}}</code></pre>-->
        <!--        </div>-->
        <!--        {{/if}}-->
        <!--        {{if vars.script.test != "" }}-->
        <!--        <h4 class="title"><a href="javascript:;" class="maodian"></a> 后执行脚本</h4>-->
        <!--        <div class="editor-preview">-->
        <!--            <pre><code class="hljs">{{vars.script.test}}</code></pre>-->
        <!--        </div>-->
        <!--        {{/if}}-->
    </div>
    {{else}}
    <div style="text-align: center;display: block"><img src="https://img.cdn.apipost.cn/v6/docs/img/emptyglobals.svg" style="width: 100px;margin:20px auto 20px;">暂无参数</div>
    {{/if}}

    <div class="footer" style="text-align: center;margin: 35px 24px;height: 50px;">本文档由 <a href="https://www.apipost.cn/" target="_blank" style="color:#3a86ff">APIPOST接口调试与管理工具</a> 生成</div>
</script>
<script type="text/html" id="doc-head-tpl">
    <div class="export">

    </div>
    <div class="user_photo">
        <img src="{{portrait}}"alt="">
    </div>
</script>
<script type="text/html" id="project-name-tpl">
    <img src="https://img.cdn.apipost.cn/v6/docs/img/project.svg" alt="">
    {{project_name}}
</script>
<script>
    template.defaults.imports.marked = function (md) {
        marked.setOptions({
            renderer: new marked.Renderer(),
            highlight: function (code) {
                return hljs.highlight('javascript', code).value;
            },
            breaks: true
        });
        return marked(md).replace(/<pre>/g, "<pre class='hljs javascript'>");
    }
    function dateFormat(date, format) {
        date = new Date(date);
        var map = {
            "M": date.getMonth() + 1, //月份
            "d": date.getDate(), //日
            "h": date.getHours(), //小时
            "m": date.getMinutes(), //分
            "s": date.getSeconds(), //秒
            "q": Math.floor((date.getMonth() + 3) / 3), //季度
            "S": date.getMilliseconds() //毫秒
        };
        format = format.replace(/([yMdhmsqS])+/g, function (all, t) {
            var v = map[t];
            if (v !== undefined) {
                if (all.length > 1) {
                    v = '0' + v;
                    v = v.substr(v.length - 2);
                }
                return v;
            } else if (t === 'y') {
                return (date.getFullYear() + '').substr(4 - all.length);
            }
            return all;
        });
        return format;
    };
    template.defaults.imports.dateFormat = dateFormat;
    function dragControllerDiv(resize, left, mid, box) {
        for (let i = 0; i < resize.length; i++) {
            // 鼠标按下事件
            resize[i].onmousedown = function (e) {
                //颜色改变提醒
                resize[i].style.borderColor = "#9d9d9d";
                var startX = e.clientX;
                resize[i].left = resize[i].offsetLeft;
                // 鼠标拖动事件
                document.onmousemove = function (e) {
                    var endX = e.clientX;
                    var moveLen = resize[i].left + (endX - startX); // （endx-startx）=移动的距离。resize[i].left+移动的距离=左边区域最后的宽度
                    var maxT = box[i].clientWidth - resize[i].offsetWidth; // 容器宽度 - 左边区域的宽度 = 右边区域的宽度

                    if (moveLen < 300) moveLen = 300; // 左边区域的最小宽度为32px
                    if (moveLen > maxT - 150) moveLen = maxT - 150; //右边区域最小宽度为150px

                    resize[i].style.left = moveLen; // 设置左侧区域的宽度
                    $('.target.title').css({ maxWidth: moveLen + 'px' })
                    for (let j = 0; j < left.length; j++) {
                        left[j].style.width = moveLen + "px";
                        mid[j].style.width = box[i].clientWidth - moveLen - 10 + "px";
                    }
                };
                // 鼠标松开事件
                document.onmouseup = function (evt) {
                    //颜色恢复
                    resize[i].style.borderColor = "#d6d6d6";
                    document.onmousemove = null;
                    document.onmouseup = null;
                    resize[i].releaseCapture && resize[i].releaseCapture(); //当你不在需要继续获得鼠标消息就要应该调用ReleaseCapture()释放掉
                };
                resize[i].setCapture && resize[i].setCapture(); //该函数在属于当前线程的指定窗口里设置鼠标捕获
                return false;
            };
        }
    }
    function keyFormat(params) {
        let arr = params.split('.');
        let str = ''
        for (let i = 0; i < arr.length - 1; i++) {
            str += `<span style="color:#999">${arr[i]}.</span>`
        }
        str += arr[arr.length - 1];
        return str;
    }
    template.defaults.imports.keyFormat = keyFormat;
    let timer = null
    let arr = {"id":381096,"project_id":2354283,"name":"nai-mall","url":"6f6968f23e079ae1","salt":"ff6b493a76cc6c4c","password":"","env_id":"-1","create_time":1651505580,"target_id":2354283,"target_type":"project","expire_days":-1,"expire_time":-1,"project_name":"nai-mall","portrait":"https:\/\/img.cdn.apipost.cn\/user\/default_profile_photo\/Vector-2.png","nick_name":"eda","publisher":"eda","pub_name":"nai-mall","project":{"vars":{"request":{"header":[],"query":[],"cookie":[],"body":[]},"script":{"pre_script":"","test":""},"variable":[],"auth":{"type":"bearer","kv":{"key":"","value":""},"bearer":{"key":"**********"},"basic":{"username":"","password":""}},"methods":["POST","GET","PUT","PATCH","DELETE","COPY","HEAD","OPTIONS","LINK","UNLINK","PURGE","LOCK","UNLOCK","PROPFIND","VIEW"],"mark":[{"key":"developing","name":"开发中","color":"#3A86FF"},{"key":"complated","name":"已完成","color":"#2BA58F"},{"key":"modifying","name":"需修改","color":"#EC4646"}]}},"children":[{"local_target_id":"63925b78-20cf-47f1-9726-359ab150900d","local_parent_id":"0","name":"登陆授权","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","status":1,"sort":0,"create_dtime":1651816461,"update_dtime":1651816460,"target_id":28277615,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"script":{"pre_script":"","test":""},"children":[{"local_target_id":"ae3b4aa8-f94e-4e2e-81da-2f419365c7ec","local_parent_id":"63925b78-20cf-47f1-9726-359ab150900d","name":"获取令牌","method":"POST","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":0,"create_dtime":1651818440,"update_dtime":1651819730,"target_id":28281787,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/getToken","description":"","auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}},"body":{"mode":"json","parameter":[{"is_checked":1,"type":"Text","key":"telephone","value":"13000000000","not_null":1,"description":"电话号码","field_type":"Text","__DATAKEY__":"4251cf4f-3351-4942-8586-23c57fad6e54","key_var":"","value_var":""},{"is_checked":1,"type":"Text","key":"password","value":"123456","not_null":1,"description":"密码","field_type":"Text","__DATAKEY__":"b7b26eaf-8cf9-4006-b9e0-b1a0cc142bdc","key_var":"","value_var":""}],"raw":"{\r\n    \"telephone\": \"13000000000\",\r\n    \"password\": \"123456\"\r\n}","raw_para":[{"key":"telephone","value":13000000000,"description":"电话号码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"3a3f7f40-52e4-47d7-b470-837b705df910"},{"key":"password","value":123456,"description":"密码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"79cbdcb8-dbd2-4d21-8fdf-be6c71c35365"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"950c89a4-838e-4b28-a63b-acec2940a780"}]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/getToken"},"response":{"success":{"raw":"{\r\n\t\"data\": {\r\n\t\t\"id\": 7,\r\n\t\t\"uid\": 1,\r\n\t\t\"access_token\": \"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEsImlhdCI6MTY1MTgxODc0MiwiZXhwIjoxNjUxOTA1MTQyfQ.VdJbNkubyBs3cStfcjoqg6Vh53zTds7tRp5l-0oYORE\",\r\n\t\t\"refresh_token\": \"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEsImlhdCI6MTY1MTgxODc0MiwiZXhwIjoxNjUzMDI4MzQyfQ.fWZh5OpfMB5qyNvcc2RMsTjx6WnOJX55ETYX4WozRdg\",\r\n\t\t\"expiresIn\": 86400,\r\n\t\t\"grand_type\": \"password\",\r\n\t\t\"client\": \"wap\"\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"登录成功\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"{}","description":"数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"faaf2d97-9d54-4ba5-993f-1380c37b0724"},{"key":"data.id","value":7,"description":"token令牌的id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"876cde9b-0172-4d89-90ac-0f51dafef057"},{"key":"data.uid","value":1,"description":"token令牌所属的会员id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"e71ab967-444e-4c31-831a-9dbe0f6a0fdf"},{"key":"data.access_token","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEsImlhdCI6MTY1MTgxODc0MiwiZXhwIjoxNjUxOTA1MTQyfQ.VdJbNkubyBs3cStfcjoqg6Vh53zTds7tRp5l-0oYORE","description":"token令牌","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"cdee2abd-4375-4813-a01a-01db5d0f9307"},{"key":"data.refresh_token","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEsImlhdCI6MTY1MTgxODc0MiwiZXhwIjoxNjUzMDI4MzQyfQ.fWZh5OpfMB5qyNvcc2RMsTjx6WnOJX55ETYX4WozRdg","description":"token令牌的刷新令牌","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"71adc8a5-ccef-4f85-9d28-5443b63d513e"},{"key":"data.expiresIn","value":86400,"description":"token令牌的过期时间（单位秒）","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"99e6ca76-b6b3-43d8-a1de-04ab0927ea04"},{"key":"data.grand_type","value":"password","description":"token令牌的授权类型","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"2cb7e36e-bee3-4e64-84a3-59fe5edc54af"},{"key":"data.client","value":"wap","description":"token令牌所属的客户端","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"1ae6218b-2d12-4b03-81f4-ab95e7b88c98"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"d50ac762-e946-452f-8d65-81d67f94deab"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"76f9a127-469f-4639-9155-50eb29f1162e"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"45e38230-9da0-4597-b0d5-3e6cb8841cf7"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"3d309242-fbd0-4ec4-a4a5-3191055a4048"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"8991dbc1-8ac9-49b6-89b2-743071fda32c"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"登录：会员查询失败！\",\r\n\t\t\"status\": 500,\r\n\t\t\"stack\": {}\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"c610fd0b-2727-469c-a59e-15517ef434de"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"43fa834a-ce06-41ea-9216-0d6a35841aba"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"cebdb0ff-b55c-4834-8659-57411a132d58"},{"key":"meta.status","value":500,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"4950fdaa-31db-4e0c-95d0-d6f100b7ca43"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"86987bfa-babb-422a-8b20-7d0c888c7e09"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"79fd020f-923b-4366-84dc-18476da4ff13"}]}}},{"local_target_id":"093c182f-52ed-4e7d-8336-2a5d44f74bab","local_parent_id":"63925b78-20cf-47f1-9726-359ab150900d","name":"刷新令牌","method":"POST","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":1,"create_dtime":1651819135,"update_dtime":1651819943,"target_id":28283373,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/refreshToken","description":"","auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}},"body":{"mode":"none","parameter":[],"raw":"","raw_para":[]},"event":{"pre_script":"","test":""},"header":{"parameter":[{"is_checked":1,"type":"Text","key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEsImlhdCI6MTY1MTgxODc0MiwiZXhwIjoxNjUzMDI4MzQyfQ.fWZh5OpfMB5qyNvcc2RMsTjx6WnOJX55ETYX4WozRdg","not_null":1,"description":"刷新token（refresh_token）","field_type":"Text","__DATAKEY__":"5fece78c-8115-4354-9683-d8bd39b274a0","key_var":"","value_var":""}]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/refreshToken"},"response":{"success":{"raw":"{\r\n\t\"data\": {\r\n\t\t\"id\": 7,\r\n\t\t\"uid\": 1,\r\n\t\t\"access_token\": \"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEsImlhdCI6MTY1MTgxOTUzOSwiZXhwIjoxNjUxOTA1OTM5fQ.eYUyAOqX6Ja1pMtPViduQlTh7XFtKawchL13oBQvWOI\",\r\n\t\t\"refresh_token\": \"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEsImlhdCI6MTY1MTgxOTUzOSwiZXhwIjoxNjUzMDI5MTM5fQ.Wdxdq8-y4jUF5NyUqJPLzHbVXp9b5vCCqg18rF82cPQ\",\r\n\t\t\"expiresIn\": 86400,\r\n\t\t\"grand_type\": \"refresh\",\r\n\t\t\"client\": \"wap\"\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"令牌更新：更新成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"{}","description":"数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"aedbd878-7fe7-414e-956e-f5d1db34ecdb"},{"key":"data.id","value":7,"description":"购物车id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"1d2f1bf8-140e-42a1-bc38-63679d4c808c"},{"key":"data.uid","value":1,"description":"token令牌的id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"6f988074-31e3-4da1-bb6f-aae8b0e99ce3"},{"key":"data.access_token","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEsImlhdCI6MTY1MTgxOTUzOSwiZXhwIjoxNjUxOTA1OTM5fQ.eYUyAOqX6Ja1pMtPViduQlTh7XFtKawchL13oBQvWOI","description":"token令牌","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"b487f5a2-930a-4edd-b96a-df0341da49ca"},{"key":"data.refresh_token","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjEsImlhdCI6MTY1MTgxOTUzOSwiZXhwIjoxNjUzMDI5MTM5fQ.Wdxdq8-y4jUF5NyUqJPLzHbVXp9b5vCCqg18rF82cPQ","description":"token令牌的刷新令牌","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"530f6c22-75fe-4b09-ac7f-f641b1be08ce"},{"key":"data.expiresIn","value":86400,"description":"token令牌的过期时间","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"6b5b103f-18f9-4466-a5d6-3945cc1bbb7c"},{"key":"data.grand_type","value":"refresh","description":"token令牌的授权类型","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"2b2e0705-bc6b-428b-99bf-48f228d21dc2"},{"key":"data.client","value":"wap","description":"token令牌所属的客户端","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"38f05321-7b19-478a-8c33-970c93f892e6"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"aae2c114-a9c8-4236-bbf0-0eb4c3e20ea6"},{"key":"meta.msg","value":"令牌更新：更新成功！","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"77a9c968-1231-4fbd-943b-6ae52190fcea"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"64e3e06b-e6af-4a32-8ef9-ef66a9bbe145"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"655e9f30-fb3d-472d-831e-156b71c6217c"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"cb46c48b-ad72-454f-a656-8b495f5aaf42"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"令牌：会话异常！\",\r\n\t\t\"status\": 500,\r\n\t\t\"stack\": {\r\n\t\t\t\"name\": \"JsonWebTokenError\",\r\n\t\t\t\"message\": \"invalid token\"\r\n\t\t}\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"5210a5ea-98e0-4cb0-bf0b-d15e5df26fe9"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"17a7175e-261b-4959-82d2-37a8cbc9bd17"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"9b640e87-2a01-489b-8554-a18ccc2e1a2d"},{"key":"meta.status","value":500,"description":"请状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"f9cebe07-9d88-42b6-9a40-c229c8c2abb9"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"59214693-b88c-49f1-91a6-3b8f524aa539"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"c0b3f23b-41c7-442d-851a-cdaa144152c6"}]}}}]},{"local_target_id":"c236c5a1-5bd5-49fd-80c3-897d65f12684","local_parent_id":"0","name":"系统配置","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","status":1,"sort":1,"create_dtime":1651819694,"update_dtime":1651819692,"target_id":28285169,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"script":{"pre_script":"","test":""},"children":[{"local_target_id":"e0da8cb8-b8a2-46ff-a5b7-7bd1d42a82f5","local_parent_id":"c236c5a1-5bd5-49fd-80c3-897d65f12684","name":"获取配置","method":"GET","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":1,"create_dtime":1651819710,"update_dtime":1651820701,"target_id":28285201,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/config\/getAll","description":"","auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}},"body":{"mode":"none","parameter":[],"raw":"","raw_para":[]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/config\/getAll"},"response":{"success":{"raw":"{\r\n\t\"data\": {\r\n\t\t\"id\": 1,\r\n\t\t\"register_info\": \"<p><strong style=\\\"background-color: rgb(230, 0, 0); color: rgb(255, 255, 255);\\\">注册条款<span class=\\\"ql-cursor\\\">\\ufeff<\/span><\/strong><\/p>\",\r\n\t\t\"aftersale_info\": \"<p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/cc987c1d28de8027dee0089ccfa134a1.png\\\"><\/p>\",\r\n\t\t\"server_tel\": \"15225420962\",\r\n\t\t\"aftersale_tel\": \"17630504200\"\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"获取配置对象：获取成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"{}","description":"数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"6f3c195d-1009-47a3-897f-0c9051ca5e98"},{"key":"data.id","value":1,"description":"系统配置id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"0ef64688-971b-48a3-ae48-23d8df9cda65"},{"key":"data.register_info","value":"<p><strong style=\"background-color: rgb(230, 0, 0); color: rgb(255, 255, 255);\">注册条款<span class=\"ql-cursor\">﻿<\/span><\/strong><\/p>","description":"注册条款","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"de84a0c4-16c6-4b37-b993-98a2c7909d29"},{"key":"data.aftersale_info","value":"<p><img src=\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/cc987c1d28de8027dee0089ccfa134a1.png\"><\/p>","description":"售后说明","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"56a36d7f-2ff0-49a2-bf64-0448d0f2951d"},{"key":"data.server_tel","value":"15225420962","description":"售前电话","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"875fd073-c3a0-40d0-ada8-e05cc09d5c3a"},{"key":"data.aftersale_tel","value":"17630504200","description":"售后电话","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"32c63dea-91ba-455d-8159-6815bf4e1c0e"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"1e024879-266c-43c2-8f3f-c2d2d9d98608"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"b9555313-9155-42fe-a5ef-0401b919e4c8"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"ae307be7-c262-41f7-9f6c-6c4f2b5b07e3"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"20d147ec-5e55-43e8-b87d-9a18605e18d3"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"8623e34a-4b7c-41be-9d8f-c734e514e21c"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"获取配置对象：ID不合法！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"8f8ee850-df6f-4e99-a820-eed12a6125ce"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"f06f640f-bb21-4302-8e15-09bb12273f22"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"9f8b8e77-8104-4073-a969-3fdc8964ef5c"},{"key":"meta.status","value":400,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"40696d50-c241-49b2-8a11-8af56332da63"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"4c0d3298-39e6-4307-a84d-791944759b9b"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"17b25028-70c5-4db4-b78d-c5524d41b8f7"}]}}}]},{"local_target_id":"4530b6c9-30ef-43bc-a962-5aad9aed78f7","local_parent_id":"0","name":"用户管理","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","status":1,"sort":2,"create_dtime":1651820269,"update_dtime":1651820268,"target_id":28287522,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"script":{"pre_script":"","test":""},"children":[{"local_target_id":"bf2b7e32-c0d6-4a56-965b-16278a964258","local_parent_id":"4530b6c9-30ef-43bc-a962-5aad9aed78f7","name":"个人信息","method":"GET","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":1,"create_dtime":1651820305,"update_dtime":1651820833,"target_id":28287596,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/member\/getMe","description":"","auth":{"type":"bearer","kv":{"key":"","value":""},"bearer":{"key":"**********"},"basic":{"username":"","password":""}},"body":{"mode":"none","parameter":[],"raw":"","raw_para":[]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/member\/getMe"},"response":{"success":{"raw":"{\r\n\t\"data\": {\r\n\t\t\"id\": 1,\r\n\t\t\"telephone\": \"13000000000\",\r\n\t\t\"nick_name\": \"嘚瑟的鱼\",\r\n\t\t\"real_name\": \"申胜龙\",\r\n\t\t\"email\": \"1009373481@qq.com\",\r\n\t\t\"avatar\": \"http:\/\/localhost:8888\/uploads\/member\/42a13b964fdaa8ca7edd1bebe06d71df.jpg\",\r\n\t\t\"deleted\": true,\r\n\t\t\"add_time\": 1643466051,\r\n\t\t\"upd_time\": null\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"获取会员对象：获取成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"{}","description":"数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"753af7d5-370a-4dc3-a449-da00ca4882f9"},{"key":"data.id","value":1,"description":"会员id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"5c791597-4a5c-4905-a8e2-ec5b050ff7e9"},{"key":"data.telephone","value":"13000000000","description":"电话号码","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"58309b77-970c-4d8d-84ca-02ad88cd56da"},{"key":"data.nick_name","value":"嘚瑟的鱼","description":"昵称","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"8ab48f65-7936-4cc7-a7a2-6d846e5d4cc2"},{"key":"data.real_name","value":"申胜龙","description":"真实姓名","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"abbfc1af-8e15-4226-9899-5eadc25aa858"},{"key":"data.email","value":"1009373481@qq.com","description":"电子邮箱，比如 example@qq.com","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"8f8209b1-4cde-485e-a9fd-b18fbc5f9881"},{"key":"data.avatar","value":"http:\/\/localhost:8888\/uploads\/member\/42a13b964fdaa8ca7edd1bebe06d71df.jpg","description":"头像地址","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"ce3b5775-b168-40cb-9e2f-04c96c5b9a9d"},{"key":"data.deleted","value":true,"description":"true-启用，false-禁用","not_null":1,"field_type":"Boolean","type":"Text","is_checked":1,"__DATAKEY__":"ef6d4607-729a-405f-9230-bfb156d6bf56"},{"key":"data.add_time","value":1643466051,"description":"创建时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"753015cb-c31b-4ea7-962f-4aeaca6cc2bc"},{"key":"data.upd_time","value":"1643466051","description":"更新时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"5868714f-f857-4924-b0a5-a3d0a73e66b4"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"c0ed98dc-f752-47c4-b45f-f605aac5e09b"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"d5129b97-f6d5-4644-b8d8-68ac1fd7a1b9"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"de082bd7-a99e-4a81-a352-b10fdcd17d99"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"70203731-c3d0-4aad-ac65-d80b7e4c6c57"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"ccd6c836-c580-4b81-9f54-d20afebfe683"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"无效token\"\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，保措时为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"7212ff7f-c8d2-4d38-8971-cd3cae1a9333"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"840a1dae-7324-48e3-bd59-58204ddcb5bd"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"c776092c-151d-4987-92e7-03cbcd61b032"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"13750f5a-c3a8-40b8-8618-aba8ded598e3"}]}}},{"local_target_id":"167e6cfb-32eb-428f-ac45-4d7e57b357fa","local_parent_id":"4530b6c9-30ef-43bc-a962-5aad9aed78f7","name":"会员注册","method":"POST","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":2,"create_dtime":1651820860,"update_dtime":1651821249,"target_id":28289620,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/member\/register","description":"","auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}},"body":{"mode":"json","parameter":[],"raw":"{\r\n\t\"telephone\": \"15225420962\",\r\n\t\"password\": \"123456\",\r\n\t\"nick_name\": \"wyy\",\r\n\t\"email\": \"wyy@126.com\"\r\n}","raw_para":[{"key":"telephone","value":"15225420962","description":"电话号码","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"06858589-ac68-4e48-ba5e-63b2f0dadd2a"},{"key":"password","value":"123456","description":"密码","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"43466282-4c29-4b03-a395-184067eaa5a0"},{"key":"nick_name","value":"wyy","description":"昵称","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"cef08c32-1ee5-4c64-9c5f-ee4713bd612e"},{"key":"email","value":"wyy@126.com","description":"电子邮箱，比如 example@qq.com","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"27e88e33-e6c6-44cf-a289-5dadd3843463"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"760fc4c9-5b8c-4c33-a0a5-7b39b525ed0d"}]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/member\/register"},"response":{"success":{"raw":"{\r\n\t\"data\": {\r\n\t\t\"id\": 7,\r\n\t\t\"telephone\": \"15225420962\",\r\n\t\t\"nick_name\": \"wyy\",\r\n\t\t\"real_name\": null,\r\n\t\t\"email\": \"wyy@126.com\",\r\n\t\t\"avatar\": null,\r\n\t\t\"deleted\": false,\r\n\t\t\"add_time\": 1651820356\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"会员注册：注册成功！\",\r\n\t\t\"status\": 201,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"{}","description":"数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"786d0e31-fa10-44f9-8238-9a4253867255"},{"key":"data.id","value":7,"description":"会员id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"296f81b9-70c3-47d0-a75e-30f1e7f1e4ec"},{"key":"data.telephone","value":"15225420962","description":"电话号码","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"0370fef3-0563-4f77-9d44-ee575ac6da52"},{"key":"data.nick_name","value":"wyy","description":"昵称","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"fe676553-0273-4006-a51e-54694e09e185"},{"key":"data.real_name","value":"wyy","description":"真实姓名","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"242227c3-ba26-4d81-8c45-2463aeeebb67"},{"key":"data.email","value":"wyy@126.com","description":"电子邮箱，比如 example@qq.com","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"1e6d1c25-0ca3-42c9-9e65-03b8207dc7f5"},{"key":"data.avatar","value":"null","description":"头像地址（默认为空）","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"db9ac5e7-b49f-44dd-8811-0949c9cc6542"},{"key":"data.deleted","value":false,"description":"true-启用，false-禁用","not_null":1,"field_type":"","type":"Text","is_checked":1,"__DATAKEY__":"456c3ad4-c989-4d7c-90ef-553d08b249a7"},{"key":"data.add_time","value":1651820356,"description":"创建时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"555641c4-07b5-4025-ae1c-77ff903978ed"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"487c1d2a-614c-4cf7-a521-e23ffacbe37d"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"f2d8b08e-59de-407b-9e92-85ab208f7639"},{"key":"meta.status","value":201,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"9b014bd7-fb93-482a-9cd7-2966aa6c10c5"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"7f3b9ef1-fe7a-45ce-bbc9-4ee2854d2551"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"7ff36257-2568-4e58-89f7-c2ec43b99c50"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"会员注册：注册失败，号码已注册！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"18fd93ae-1160-4ea5-a1c8-6610f4a6ed58"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"2e787cb7-bf8e-4615-857f-8ea9c2bc98a9"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"8e20aa5d-e80f-4447-85ec-bfbb0dcef3bb"},{"key":"meta.status","value":400,"description":"求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"d7730c21-f461-4f9b-a2c1-c939123b6523"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"c20b3e79-6ae2-43e0-bff8-533f0a002ea2"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"1582772d-c381-46ad-a702-0f70d941746b"}]}}}]},{"local_target_id":"7505be41-75e4-44d6-9586-8028ac719878","local_parent_id":"0","name":"轮播图管理","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","status":1,"sort":3,"create_dtime":1651821183,"update_dtime":1651821182,"target_id":28290746,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"script":{"pre_script":"","test":""},"children":[{"local_target_id":"90e5b392-fccd-4703-b1dd-f00203b3ab8a","local_parent_id":"7505be41-75e4-44d6-9586-8028ac719878","name":"列表查询","method":"GET","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":1,"create_dtime":1651821222,"update_dtime":1651821571,"target_id":28290797,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/banner\/getList","description":"","auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}},"body":{"mode":"none","parameter":[],"raw":"","raw_para":[]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/banner\/getList"},"response":{"success":{"raw":"{\r\n\t\"data\": [\r\n\t\t{\r\n\t\t\t\"id\": 22,\r\n\t\t\t\"img_url\": \"http:\/\/localhost:8888\/uploads\/banner\/d20993aeb632212120b18acfee819131.jpg\",\r\n\t\t\t\"target\": \"http:\/\/www.baidu.com\",\r\n\t\t\t\"sort\": 0,\r\n\t\t\t\"desc\": \"漫漫人生路，步步意尔康\",\r\n\t\t\t\"deleted\": true,\r\n\t\t\t\"add_time\": 1642394717,\r\n\t\t\t\"upd_time\": null\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": 23,\r\n\t\t\t\"img_url\": \"http:\/\/localhost:8888\/uploads\/banner\/5d165d9de794c1d9f2c46ae9c426ff2a.jpg\",\r\n\t\t\t\"target\": \"http:\/\/www.google.com\",\r\n\t\t\t\"sort\": 0,\r\n\t\t\t\"desc\": \"好客山东欢迎你\",\r\n\t\t\t\"deleted\": true,\r\n\t\t\t\"add_time\": 1646736290,\r\n\t\t\t\"upd_time\": null\r\n\t\t}\r\n\t],\r\n\t\"meta\": {\r\n\t\t\"msg\": \"轮播图：获取成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"{}","description":"数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"e3dd9112-2eae-41aa-b94c-ca712a23c87e"},{"key":"data.id","value":22,"description":"轮播图id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"a70fe804-4f0c-4155-9957-2ee233ef1f8f"},{"key":"data.img_url","value":"http:\/\/localhost:8888\/uploads\/banner\/d20993aeb632212120b18acfee819131.jpg","description":"轮播图地址","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"f27c8b8e-75da-4e30-ae6f-90b2cc7ca83c"},{"key":"data.target","value":"http:\/\/www.baidu.com","description":"轮播图点击跳转地址","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"7a6239b2-cdba-431b-be9e-2e65252032a7"},{"key":"data.sort","value":0,"description":"轮播图排序号","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"d9d40ace-c8db-4024-95b0-1a26f9d001eb"},{"key":"data.desc","value":"漫漫人生路，步步意尔康","description":"轮播图描述文字","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"f27d55bd-8a5e-42c7-bdfb-c8b881adfdc9"},{"key":"data.deleted","value":true,"description":"true-启用，false-禁用","not_null":1,"field_type":"","type":"Text","is_checked":1,"__DATAKEY__":"ece1c601-bc21-4c01-950a-08ef8feef6f6"},{"key":"data.add_time","value":1642394717,"description":"创建时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"d36e5742-dc8b-47a4-986f-5c126000c88d"},{"key":"data.upd_time","value":"1642394717","description":"更新时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"33526785-9c06-4fe8-aeac-497207daee91"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"3b2b9cf1-9a52-47e1-bb78-215cb2eb764f"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"fd434469-dbab-498a-a2c9-f46501fb212b"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"0d1cd81e-0d29-4bca-9022-c4042a596b4b"},{"key":"meta.stack","value":"null | {]","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"3d21ff8e-a4f0-4e59-a354-3cc42025dbbe"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"29f96b22-cef5-4176-95b1-2a23222c8168"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"轮播图：获取失败！\",\r\n\t\t\"status\": 500,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"12e9a11c-20e7-495e-9b67-982d61fc316a"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"f62eaa54-67f7-4c7d-a9e3-0173b1f951a0"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"9448cb44-f02b-411d-bbad-42dbb5582a1f"},{"key":"meta.status","value":500,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"a3f0d95b-d229-4f9d-82a4-63082d360294"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"55d210ac-cb8c-4193-8f19-2f65e95d0486"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"e48efc7b-0bc7-4660-8f31-a3e8e0b73fac"}]}}}]},{"local_target_id":"a05f2ee9-6422-4f76-a654-49173a621f2b","local_parent_id":"0","name":"商品管理","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","status":1,"sort":4,"create_dtime":1651587457,"update_dtime":1651587460,"target_id":28106770,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"script":{"pre_script":"","test":""},"children":[{"local_target_id":"f7f11a80-83ad-464f-b9e1-ba2277a00f56","local_parent_id":"a05f2ee9-6422-4f76-a654-49173a621f2b","name":"分页查询","method":"POST","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":0,"create_dtime":1651822638,"update_dtime":1651851386,"target_id":28296712,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/good\/getPage?pagenum=1&pagesize=6","description":"","auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}},"body":{"mode":"json","parameter":[],"raw":"{\r\n\t\"name\": \"\",\r\n\t\"is_recomend\": 0,\r\n\t\"cat_one_id\": 1,\r\n\t\"cat_two_id\": 7,\r\n\t\"cat_three_id\": 8,\r\n\t\"order\": [\r\n\t\t\"-sales\",\r\n\t\t\"-score\",\r\n\t\t\"price\"\r\n\t]\r\n}","raw_para":[{"key":"name","value":"\"面膜\"","description":"筛选条件：根据标题名称关键词进行模糊查询","not_null":"-1","field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"3f186295-8025-49d5-99aa-2913f586b9de"},{"key":"is_recomend","value":"true","description":"筛选条件：根据是否为推荐商品进行筛选","not_null":"-1","field_type":"Boolean","type":"Text","is_checked":1,"__DATAKEY__":"57e475e3-1db4-49e1-bf80-1ef90750954c"},{"key":"cat_one_id","value":1,"description":"筛选条件：根据一级分类进行筛选","not_null":"-1","field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"d6c8078d-abe4-4a99-acc9-6e97509e1c76"},{"key":"cat_two_id","value":7,"description":"筛选条件：根据二级分类进行筛选","not_null":"-1","field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"3db94260-1cd4-49fb-a917-742b8b20fd61"},{"key":"cat_three_id","value":8,"description":"筛选条件：根据三级分类进行筛选","not_null":"-1","field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"70acde8d-f0e8-4f6c-b40e-bde2c1b8f6d0"},{"key":"order","value":"[ \"-sales\", \"-score\",  \"price\"]","description":"排序条件：正值升序，负值降序","not_null":"-1","field_type":"Array","type":"Text","is_checked":1,"__DATAKEY__":"98f78192-f3d2-48f3-9767-5d46ea026b78"},{"is_checked":-1,"type":"text","key":"","value":"","not_null":1,"description":"","field_type":"Text","static":true,"__DATAKEY__":"13a6c63f-021a-44bc-83d1-225ca6f19d7d"}]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[{"is_checked":1,"type":"Text","key":"pagenum","value":"1","not_null":1,"description":"页码，值为大于0的整数","field_type":"Text","__DATAKEY__":"ee57de65-9424-4d7b-93d0-e637330e670e","key_var":"","value_var":""},{"is_checked":1,"type":"Text","key":"pagesize","value":"6","not_null":1,"description":"每页显示条数，值为大于0的整数","field_type":"Text","__DATAKEY__":"3771dfcd-1b59-4655-9fe8-251cbc76924a","key_var":"","value_var":""}]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/good\/getPage?pagenum=1&pagesize=6"},"response":{"success":{"raw":"{\r\n\t\"data\": {\r\n\t\t\"total\": 7,\r\n\t\t\"pagenum\": 1,\r\n\t\t\"good\": [\r\n\t\t\t{\r\n\t\t\t\t\"id\": 1,\r\n\t\t\t\t\"name\": \"PHYT’S菲茨七叶树眼部莹亮水润眼膜涂抹式抚平纹路提亮提升眼周\",\r\n\t\t\t\t\"price\": \"111.00\",\r\n\t\t\t\t\"number\": 47,\r\n\t\t\t\t\"weight\": 40,\r\n\t\t\t\t\"introduce\": \"<p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/a8806c1b0a300aec2604e88a2cd03341.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/32fa75f6c8565927a55c615d2d8890d5.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/aefe02461ec927c88606a8678dc790d8.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/3b48058dc354801a5824736050b8a9a5.jpg\\\"><\/p>\",\r\n\t\t\t\t\"big_logo\": \"\",\r\n\t\t\t\t\"small_logo\": \"\",\r\n\t\t\t\t\"state\": 2,\r\n\t\t\t\t\"deleted\": true,\r\n\t\t\t\t\"add_time\": 1642228573,\r\n\t\t\t\t\"upd_time\": 1646841630,\r\n\t\t\t\t\"delete_time\": 1646838402,\r\n\t\t\t\t\"is_promote\": false,\r\n\t\t\t\t\"promote_price\": null,\r\n\t\t\t\t\"is_recomend\": true,\r\n\t\t\t\t\"cat_id\": 8,\r\n\t\t\t\t\"cat_one_id\": 1,\r\n\t\t\t\t\"cat_two_id\": 7,\r\n\t\t\t\t\"cat_three_id\": 8,\r\n\t\t\t\t\"cat\": \"1,7,8\",\r\n\t\t\t\t\"pics\": [\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/big_abad5e3908fd4dac826a3d72569d953b.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/big_c7426f0afd406a581fd3b8dced51502c.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/big_9e9d6fcb17baea1dabaf6ddf8dfca780.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/big_754954c7da73e8d10da28727e7d7a743.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/big_32826032d24149258d17ddcbcc78eeee.jpg\"\r\n\t\t\t\t],\r\n\t\t\t\t\"sales\": \"18\",\r\n\t\t\t\t\"score\": \"4.00000000\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 2,\r\n\t\t\t\t\"name\": \"菲茨荷花玉兰舒缓面膜\",\r\n\t\t\t\t\"price\": \"222.00\",\r\n\t\t\t\t\"number\": 8,\r\n\t\t\t\t\"weight\": 20,\r\n\t\t\t\t\"introduce\": \"<p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/87ec7c0590556d2bc78bce578737667d.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/28c0417dc362d7d7aac7c98d05857d22.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/a607b7bec870ce5945538a11d42c8f3b.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/81117f5b879acdc93324192fbf63202f.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/972078573bf3c50d7cf1d6ea849d0c35.jpg\\\"><\/p>\",\r\n\t\t\t\t\"big_logo\": \"\",\r\n\t\t\t\t\"small_logo\": \"\",\r\n\t\t\t\t\"state\": 2,\r\n\t\t\t\t\"deleted\": true,\r\n\t\t\t\t\"add_time\": 1642229450,\r\n\t\t\t\t\"upd_time\": 1649166385,\r\n\t\t\t\t\"delete_time\": 1646838403,\r\n\t\t\t\t\"is_promote\": true,\r\n\t\t\t\t\"promote_price\": \"120.00\",\r\n\t\t\t\t\"is_recomend\": false,\r\n\t\t\t\t\"cat_id\": 10,\r\n\t\t\t\t\"cat_one_id\": 1,\r\n\t\t\t\t\"cat_two_id\": 7,\r\n\t\t\t\t\"cat_three_id\": 10,\r\n\t\t\t\t\"cat\": \"1,7,10\",\r\n\t\t\t\t\"pics\": [\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/big_8a768dd9f602cb403fd9aad65767a4a4.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/big_4e3e67681c36f1801c8eba5886e2c854.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/big_d01c2e66b8e207c2b732c50a420a4c15.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/big_f9cf47f34e5510bfbdf1a0b663d5bed4.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/big_45a5842ab6e279b233fe0736cd5c6e26.jpg\"\r\n\t\t\t\t],\r\n\t\t\t\t\"sales\": \"8\",\r\n\t\t\t\t\"score\": null\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 3,\r\n\t\t\t\t\"name\": \"PHYT’S菲茨七叶树眼部莹亮水润眼膜涂抹式抚平纹路提亮提升眼周w\",\r\n\t\t\t\t\"price\": \"333.00\",\r\n\t\t\t\t\"number\": 8,\r\n\t\t\t\t\"weight\": 20,\r\n\t\t\t\t\"introduce\": \"<p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/87ec7c0590556d2bc78bce578737667d.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/28c0417dc362d7d7aac7c98d05857d22.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/a607b7bec870ce5945538a11d42c8f3b.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/81117f5b879acdc93324192fbf63202f.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/972078573bf3c50d7cf1d6ea849d0c35.jpg\\\"><\/p>\",\r\n\t\t\t\t\"big_logo\": \"\",\r\n\t\t\t\t\"small_logo\": \"\",\r\n\t\t\t\t\"state\": 2,\r\n\t\t\t\t\"deleted\": true,\r\n\t\t\t\t\"add_time\": 1642229450,\r\n\t\t\t\t\"upd_time\": 1646840028,\r\n\t\t\t\t\"delete_time\": 1646838403,\r\n\t\t\t\t\"is_promote\": true,\r\n\t\t\t\t\"promote_price\": \"120.00\",\r\n\t\t\t\t\"is_recomend\": true,\r\n\t\t\t\t\"cat_id\": 10,\r\n\t\t\t\t\"cat_one_id\": 1,\r\n\t\t\t\t\"cat_two_id\": 7,\r\n\t\t\t\t\"cat_three_id\": 10,\r\n\t\t\t\t\"cat\": \"1,7,10\",\r\n\t\t\t\t\"pics\": [],\r\n\t\t\t\t\"sales\": null,\r\n\t\t\t\t\"score\": null\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 4,\r\n\t\t\t\t\"name\": \"菲茨荷花玉兰舒缓面膜w\",\r\n\t\t\t\t\"price\": \"444.00\",\r\n\t\t\t\t\"number\": 8,\r\n\t\t\t\t\"weight\": 20,\r\n\t\t\t\t\"introduce\": \"<p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/87ec7c0590556d2bc78bce578737667d.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/28c0417dc362d7d7aac7c98d05857d22.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/a607b7bec870ce5945538a11d42c8f3b.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/81117f5b879acdc93324192fbf63202f.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/972078573bf3c50d7cf1d6ea849d0c35.jpg\\\"><\/p>\",\r\n\t\t\t\t\"big_logo\": \"\",\r\n\t\t\t\t\"small_logo\": \"\",\r\n\t\t\t\t\"state\": 2,\r\n\t\t\t\t\"deleted\": true,\r\n\t\t\t\t\"add_time\": 1642229450,\r\n\t\t\t\t\"upd_time\": 1646840028,\r\n\t\t\t\t\"delete_time\": 1646838403,\r\n\t\t\t\t\"is_promote\": true,\r\n\t\t\t\t\"promote_price\": \"120.00\",\r\n\t\t\t\t\"is_recomend\": true,\r\n\t\t\t\t\"cat_id\": 10,\r\n\t\t\t\t\"cat_one_id\": 1,\r\n\t\t\t\t\"cat_two_id\": 7,\r\n\t\t\t\t\"cat_three_id\": 10,\r\n\t\t\t\t\"cat\": \"1,7,10\",\r\n\t\t\t\t\"pics\": [],\r\n\t\t\t\t\"sales\": null,\r\n\t\t\t\t\"score\": null\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 5,\r\n\t\t\t\t\"name\": \"PHYT’S菲茨七叶树眼部莹亮水润眼膜涂抹式抚平纹路提亮提升眼周s\",\r\n\t\t\t\t\"price\": \"555.00\",\r\n\t\t\t\t\"number\": 8,\r\n\t\t\t\t\"weight\": 20,\r\n\t\t\t\t\"introduce\": \"<p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/87ec7c0590556d2bc78bce578737667d.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/28c0417dc362d7d7aac7c98d05857d22.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/a607b7bec870ce5945538a11d42c8f3b.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/81117f5b879acdc93324192fbf63202f.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/972078573bf3c50d7cf1d6ea849d0c35.jpg\\\"><\/p>\",\r\n\t\t\t\t\"big_logo\": \"\",\r\n\t\t\t\t\"small_logo\": \"\",\r\n\t\t\t\t\"state\": 2,\r\n\t\t\t\t\"deleted\": true,\r\n\t\t\t\t\"add_time\": 1642229450,\r\n\t\t\t\t\"upd_time\": 1650642546,\r\n\t\t\t\t\"delete_time\": 1646838403,\r\n\t\t\t\t\"is_promote\": true,\r\n\t\t\t\t\"promote_price\": \"120.00\",\r\n\t\t\t\t\"is_recomend\": true,\r\n\t\t\t\t\"cat_id\": 12,\r\n\t\t\t\t\"cat_one_id\": 1,\r\n\t\t\t\t\"cat_two_id\": 9,\r\n\t\t\t\t\"cat_three_id\": 12,\r\n\t\t\t\t\"cat\": \"1,9,12\",\r\n\t\t\t\t\"pics\": [],\r\n\t\t\t\t\"sales\": null,\r\n\t\t\t\t\"score\": null\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 6,\r\n\t\t\t\t\"name\": \"菲茨荷花玉兰舒缓面膜s\",\r\n\t\t\t\t\"price\": \"666.00\",\r\n\t\t\t\t\"number\": 8,\r\n\t\t\t\t\"weight\": 20,\r\n\t\t\t\t\"introduce\": \"<p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/87ec7c0590556d2bc78bce578737667d.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/28c0417dc362d7d7aac7c98d05857d22.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/a607b7bec870ce5945538a11d42c8f3b.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/81117f5b879acdc93324192fbf63202f.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/972078573bf3c50d7cf1d6ea849d0c35.jpg\\\"><\/p>\",\r\n\t\t\t\t\"big_logo\": \"\",\r\n\t\t\t\t\"small_logo\": \"\",\r\n\t\t\t\t\"state\": 2,\r\n\t\t\t\t\"deleted\": true,\r\n\t\t\t\t\"add_time\": 1642229450,\r\n\t\t\t\t\"upd_time\": 1650643814,\r\n\t\t\t\t\"delete_time\": 1646838403,\r\n\t\t\t\t\"is_promote\": false,\r\n\t\t\t\t\"promote_price\": null,\r\n\t\t\t\t\"is_recomend\": true,\r\n\t\t\t\t\"cat_id\": 8,\r\n\t\t\t\t\"cat_one_id\": 1,\r\n\t\t\t\t\"cat_two_id\": 7,\r\n\t\t\t\t\"cat_three_id\": 8,\r\n\t\t\t\t\"cat\": \"1,7,8\",\r\n\t\t\t\t\"pics\": [],\r\n\t\t\t\t\"sales\": null,\r\n\t\t\t\t\"score\": null\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"商品列表：获取分页数据成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"{}","description":"分页数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"397371e3-a7b2-47ab-a06b-9ba3913004c4"},{"key":"data.total","value":7,"description":"数据总条数","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"91e6c3a2-e192-4543-b359-581e951e4691"},{"key":"data.pagenum","value":1,"description":"当前页码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"5dc949d0-866e-4d65-8d27-e818fd9a69d6"},{"key":"data.good","value":"[{},{}]","description":"数据集合","not_null":1,"field_type":"Array","type":"Text","is_checked":1,"__DATAKEY__":"fde4f781-51d4-4b1e-adae-40d29d5568b2"},{"key":"data.good.id","value":1,"description":"商品id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"ea370306-57b5-428b-a8cb-bc5512445134"},{"key":"data.good.name","value":"PHYT’S菲茨七叶树眼部莹亮水润眼膜涂抹式抚平纹路提亮提升眼周","description":"商品名称","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"64ed3c7d-433e-4d5b-a717-3c7b68b6a75f"},{"key":"data.good.price","value":"111.00","description":"商品价格","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"fc38c1a6-bf44-4b67-84b1-2dd7dead5374"},{"key":"data.good.number","value":47,"description":"商品数量","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"a4b89593-19a2-4d3b-84c4-179ff10f5dd8"},{"key":"data.good.weight","value":40,"description":"商品重量","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"1745c8da-b5f0-422e-be40-ad7cfdf4c1c0"},{"key":"data.good.introduce","value":"<p><img src=\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/a8806c1b0a300aec2604e88a2cd03341.jpg\"><\/p><p><img src=\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/32fa75f6c8565927a55c615d2d8890d5.jpg\"><\/p><p><img src=\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/aefe02461ec927c88606a8678dc790d8.jpg\"><\/p><p><img src=\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/3b48058dc354801a5824736050b8a9a5.jpg\"><\/p>","description":"商品介绍","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"f888a334-8f79-4f33-8b17-b3dc05deac85"},{"key":"data.good.state","value":2,"description":"商品状态 0: 未提交 1: 审核中 2: 已通过 3: 被拒绝","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"20e4584e-1306-4c7a-911f-7371f601d45c"},{"key":"data.good.deleted","value":true,"description":"true-启用，false-禁用","not_null":1,"field_type":"Boolean","type":"Text","is_checked":1,"__DATAKEY__":"9e8558c5-266b-4255-a0b8-4c7fc63369e9"},{"key":"data.good.add_time","value":1642228573,"description":"创建时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"ea54744b-5c70-423f-bfbb-90173da0cf34"},{"key":"data.good.upd_time","value":1646841630,"description":"更新时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"7e075957-8da9-46c2-bc54-58267a7a0460"},{"key":"data.good.delete_time","value":1646838402,"description":"禁用时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"351d6eab-f9fb-4d4d-be4e-b30158735f70"},{"key":"data.good.is_promote","value":false,"description":"是否为促销商品","not_null":1,"field_type":"Boolean","type":"Text","is_checked":1,"__DATAKEY__":"4b886bef-da7c-4611-8faf-12aff79fde8c"},{"key":"data.good.promote_price","value":"number | null","description":"商品促销价格","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"9670cb75-6d42-470a-9c9c-3dfc56a2b361"},{"key":"data.good.is_recomend","value":true,"description":"是否为推荐商品","not_null":1,"field_type":"Boolean","type":"Text","is_checked":1,"__DATAKEY__":"7c39206e-d054-479d-8836-5ad45589ad7e"},{"key":"data.good.cat_id","value":8,"description":"叶子分类id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"07d4f2f2-e4de-4732-bc89-7a33af66cc5c"},{"key":"data.good.cat_one_id","value":1,"description":"一级分类id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"038f89f8-a61f-438b-b9c7-8a42f9e47723"},{"key":"data.good.cat_two_id","value":7,"description":"二级分类id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"6786224f-3c40-4356-9df5-b1360ef2d84b"},{"key":"data.good.cat_three_id","value":8,"description":"三级分类id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"a7d2817b-7d41-4599-b324-06428244b155"},{"key":"data.good.cat","value":"1,7,8","description":"拼接后的分类路径","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"7b6d8039-da19-4e41-a45b-12e2664de831"},{"key":"data.good.pics","value":"[http:\/\/localhost:8888\/uploads\/goodspics\/big_abad5e3908fd4dac826a3d72569d953b.jpg]","description":"商品主图数组","not_null":1,"field_type":"Array","type":"Text","is_checked":1,"__DATAKEY__":"42a9448d-b844-46b5-9c2d-b92ca2638b56"},{"key":"data.good.sales","value":"18","description":"商品销量","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"c8ca4b07-1c4b-48dc-a2d1-ce64b832bdd6"},{"key":"data.good.score","value":"4.00000000","description":"商品评价平均分","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"5f36d11b-8a6a-4042-922f-486748f72b84"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"be67e557-6910-4c5d-a1c6-d48cbd556f54"},{"key":"meta.msg","value":"商品列表：获取分页数据成功！","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"4a1991fa-9c80-4729-b842-413f5745d266"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"51689d6f-b85c-4ef0-89d5-1fce6b5c1f48"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"5546cda9-235d-4c19-a6bd-076eecc34da7"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"76147cb5-1685-478c-9098-e2eb0d85bf13"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"pagenum 参数不合法！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为nul","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"7d5565b7-e72e-4600-a520-7748df0f42e9"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"e4b5695f-1300-4a5c-b3e5-dbee75391338"},{"key":"meta.msg","value":"pagenum 参数不合法！","description":"返回文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"d50652ac-f9ac-4d21-a671-b5c04642b09e"},{"key":"meta.status","value":400,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"4e9ea1e7-d180-42f6-be18-691086ac628d"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"fed96d61-27e0-4218-b86e-29ca51e48c4b"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"17632523-8a32-4410-bdff-096190084144"}]}}},{"local_target_id":"efe8953e-8fc0-4829-91f2-249efaa7a5f4","local_parent_id":"a05f2ee9-6422-4f76-a654-49173a621f2b","name":"获取详情","method":"GET","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":1,"create_dtime":1651587505,"update_dtime":1651848853,"target_id":28106862,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/good\/getByID\/1","description":"","auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}},"body":{"mode":"none","parameter":[],"raw":"","raw_para":[]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/good\/getByID\/1"},"response":{"success":{"raw":"{\r\n\t\"data\": {\r\n\t\t\"id\": 1,\r\n\t\t\"name\": \"PHYT’S菲茨七叶树眼部莹亮水润眼膜涂抹式抚平纹路提亮提升眼周\",\r\n\t\t\"price\": \"111.00\",\r\n\t\t\"number\": 47,\r\n\t\t\"weight\": 40,\r\n\t\t\"introduce\": \"<p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/a8806c1b0a300aec2604e88a2cd03341.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/32fa75f6c8565927a55c615d2d8890d5.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/aefe02461ec927c88606a8678dc790d8.jpg\\\"><\/p><p><img src=\\\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/3b48058dc354801a5824736050b8a9a5.jpg\\\"><\/p>\",\r\n\t\t\"big_logo\": \"\",\r\n\t\t\"small_logo\": \"\",\r\n\t\t\"state\": 2,\r\n\t\t\"deleted\": true,\r\n\t\t\"add_time\": 1642228573,\r\n\t\t\"upd_time\": 1646841630,\r\n\t\t\"delete_time\": 1646838402,\r\n\t\t\"is_promote\": false,\r\n\t\t\"promote_price\": null,\r\n\t\t\"is_recomend\": true,\r\n\t\t\"cat_id\": 8,\r\n\t\t\"cat_one_id\": 1,\r\n\t\t\"cat_two_id\": 7,\r\n\t\t\"cat_three_id\": 8,\r\n\t\t\"cat\": \"1,7,8\",\r\n\t\t\"pics\": [\r\n\t\t\t{\r\n\t\t\t\t\"id\": 1,\r\n\t\t\t\t\"big_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/big_abad5e3908fd4dac826a3d72569d953b.jpg\",\r\n\t\t\t\t\"mid_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/mid_abad5e3908fd4dac826a3d72569d953b.jpg\",\r\n\t\t\t\t\"sma_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/sma_abad5e3908fd4dac826a3d72569d953b.jpg\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 2,\r\n\t\t\t\t\"big_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/big_c7426f0afd406a581fd3b8dced51502c.jpg\",\r\n\t\t\t\t\"mid_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/mid_c7426f0afd406a581fd3b8dced51502c.jpg\",\r\n\t\t\t\t\"sma_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/sma_c7426f0afd406a581fd3b8dced51502c.jpg\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 3,\r\n\t\t\t\t\"big_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/big_9e9d6fcb17baea1dabaf6ddf8dfca780.jpg\",\r\n\t\t\t\t\"mid_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/mid_9e9d6fcb17baea1dabaf6ddf8dfca780.jpg\",\r\n\t\t\t\t\"sma_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/sma_9e9d6fcb17baea1dabaf6ddf8dfca780.jpg\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 4,\r\n\t\t\t\t\"big_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/big_754954c7da73e8d10da28727e7d7a743.jpg\",\r\n\t\t\t\t\"mid_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/mid_754954c7da73e8d10da28727e7d7a743.jpg\",\r\n\t\t\t\t\"sma_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/sma_754954c7da73e8d10da28727e7d7a743.jpg\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 5,\r\n\t\t\t\t\"big_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/big_32826032d24149258d17ddcbcc78eeee.jpg\",\r\n\t\t\t\t\"mid_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/mid_32826032d24149258d17ddcbcc78eeee.jpg\",\r\n\t\t\t\t\"sma_url\": \"http:\/\/localhost:8888\/uploads\/goodspics\/sma_32826032d24149258d17ddcbcc78eeee.jpg\"\r\n\t\t\t}\r\n\t\t],\r\n\t\t\"attrs\": [\r\n\t\t\t{\r\n\t\t\t\t\"id\": 269,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"attr_id\": 1,\r\n\t\t\t\t\"value\": \"40g,20g\",\r\n\t\t\t\t\"add_price\": null,\r\n\t\t\t\t\"name\": \"净含量\",\r\n\t\t\t\t\"type\": \"dynamic\",\r\n\t\t\t\t\"write\": \"list\",\r\n\t\t\t\t\"vals\": \"20g,40g\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 270,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"attr_id\": 2,\r\n\t\t\t\t\"value\": \"PHYT’S\/菲茨\",\r\n\t\t\t\t\"add_price\": null,\r\n\t\t\t\t\"name\": \"品牌\",\r\n\t\t\t\t\"type\": \"static\",\r\n\t\t\t\t\"write\": \"manual\",\r\n\t\t\t\t\"vals\": \"PHYT’S\/菲茨\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 271,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"attr_id\": 3,\r\n\t\t\t\t\"value\": \"菲茨荷花玉兰舒缓面膜\",\r\n\t\t\t\t\"add_price\": null,\r\n\t\t\t\t\"name\": \"品名\",\r\n\t\t\t\t\"type\": \"static\",\r\n\t\t\t\t\"write\": \"manual\",\r\n\t\t\t\t\"vals\": \"\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 272,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"attr_id\": 4,\r\n\t\t\t\t\"value\": \"法国\",\r\n\t\t\t\t\"add_price\": null,\r\n\t\t\t\t\"name\": \"产地\",\r\n\t\t\t\t\"type\": \"static\",\r\n\t\t\t\t\"write\": \"manual\",\r\n\t\t\t\t\"vals\": \"法国\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 273,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"attr_id\": 5,\r\n\t\t\t\t\"value\": \"水洗式\",\r\n\t\t\t\t\"add_price\": null,\r\n\t\t\t\t\"name\": \"面膜分类\",\r\n\t\t\t\t\"type\": \"static\",\r\n\t\t\t\t\"write\": \"manual\",\r\n\t\t\t\t\"vals\": \"\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 274,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"attr_id\": 6,\r\n\t\t\t\t\"value\": \"敏感性肤质\",\r\n\t\t\t\t\"add_price\": null,\r\n\t\t\t\t\"name\": \"适合肤质\",\r\n\t\t\t\t\"type\": \"static\",\r\n\t\t\t\t\"write\": \"manual\",\r\n\t\t\t\t\"vals\": \"任何肤质\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 275,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"attr_id\": 7,\r\n\t\t\t\t\"value\": \"洋甘菊\",\r\n\t\t\t\t\"add_price\": null,\r\n\t\t\t\t\"name\": \"原料成分\",\r\n\t\t\t\t\"type\": \"static\",\r\n\t\t\t\t\"write\": \"manual\",\r\n\t\t\t\t\"vals\": \"\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 276,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"attr_id\": 8,\r\n\t\t\t\t\"value\": \"深层滋养 修护 水油平衡\",\r\n\t\t\t\t\"add_price\": null,\r\n\t\t\t\t\"name\": \"功效\",\r\n\t\t\t\t\"type\": \"static\",\r\n\t\t\t\t\"write\": \"manual\",\r\n\t\t\t\t\"vals\": \"\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 277,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"attr_id\": 9,\r\n\t\t\t\t\"value\": \"正常规格\",\r\n\t\t\t\t\"add_price\": null,\r\n\t\t\t\t\"name\": \"规格类型\",\r\n\t\t\t\t\"type\": \"static\",\r\n\t\t\t\t\"write\": \"manual\",\r\n\t\t\t\t\"vals\": \"正常规格\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 278,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"attr_id\": 10,\r\n\t\t\t\t\"value\": \"否\",\r\n\t\t\t\t\"add_price\": null,\r\n\t\t\t\t\"name\": \"是否为特殊用途化妆品\",\r\n\t\t\t\t\"type\": \"static\",\r\n\t\t\t\t\"write\": \"manual\",\r\n\t\t\t\t\"vals\": \"否\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 279,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"attr_id\": 11,\r\n\t\t\t\t\"value\": \"40g\",\r\n\t\t\t\t\"add_price\": null,\r\n\t\t\t\t\"name\": \"净含量\",\r\n\t\t\t\t\"type\": \"static\",\r\n\t\t\t\t\"write\": \"manual\",\r\n\t\t\t\t\"vals\": \"\"\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 280,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"attr_id\": 22,\r\n\t\t\t\t\"value\": \"1年\",\r\n\t\t\t\t\"add_price\": null,\r\n\t\t\t\t\"name\": \"保质期\",\r\n\t\t\t\t\"type\": \"static\",\r\n\t\t\t\t\"write\": \"manual\",\r\n\t\t\t\t\"vals\": \"1年\"\r\n\t\t\t}\r\n\t\t],\r\n\t\t\"sales\": \"18\",\r\n\t\t\"score\": \"4.00000000\",\r\n\t\t\"comment_all\": 1,\r\n\t\t\"comment_excellent\": 1,\r\n\t\t\"comment_middle\": 0,\r\n\t\t\"comment_bad\": 0,\r\n\t\t\"comment_img\": 1\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"获取商品数据成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"{}","description":"数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"9930c805-9d9c-4deb-9e14-9a1ae2047b90"},{"key":"data.id","value":1,"description":"商品id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"9602662b-074f-4cc5-81af-97e5616a48da"},{"key":"data.name","value":"PHYT’S菲茨七叶树眼部莹亮水润眼膜涂抹式抚平纹路提亮提升眼周","description":"商品ming","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"0c6b3887-a142-4b8f-84ce-8dcc7a4772a6"},{"key":"data.price","value":"111.00","description":"商品价格","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"cd1da60d-fb9e-4105-8dde-c5e62ccb4ace"},{"key":"data.number","value":47,"description":"商品数量","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"4fd89355-a52c-4b76-9172-9886c2a39181"},{"key":"data.weight","value":40,"description":"商品重量","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"37936aa4-4a9e-4e20-9e60-cf875322ec90"},{"key":"data.introduce","value":"<p><img src=\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/a8806c1b0a300aec2604e88a2cd03341.jpg\"><\/p><p><img src=\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/32fa75f6c8565927a55c615d2d8890d5.jpg\"><\/p><p><img src=\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/aefe02461ec927c88606a8678dc790d8.jpg\"><\/p><p><img src=\"http:\/\/127.0.0.1:8888\/uploads\/ueditor\/3b48058dc354801a5824736050b8a9a5.jpg\"><\/p>","description":"商品介绍","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"3a5399ef-1b12-49f1-82ba-2c40155c5bb5"},{"key":"data.state","value":2,"description":"商品状态 0: 未提交 1: 审核中 2: 已通过 3: 被拒绝","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"3111a4dc-efa5-4480-a963-afa9809614b7"},{"key":"data.deleted","value":true,"description":"true-启用，false-禁用","not_null":1,"field_type":"","type":"Text","is_checked":1,"__DATAKEY__":"c10d4903-9403-4c0d-b983-d6a592a75db3"},{"key":"data.add_time","value":1642228573,"description":"创建时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"50189d2d-beaf-48f0-a6f9-fd588818ec80"},{"key":"data.upd_time","value":1646841630,"description":"更新时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"18f5d231-be8a-45ec-b564-b44047f99058"},{"key":"data.delete_time","value":1646838402,"description":"删除时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"9e94bd63-bcc6-42a9-ae49-490aa8f2aa53"},{"key":"data.is_promote","value":false,"description":"是否为促销商品","not_null":1,"field_type":"Boolean","type":"Text","is_checked":1,"__DATAKEY__":"6433329a-b692-4e47-bb57-c4314f4ff7cb"},{"key":"data.promote_price","value":"number | null","description":"商品促销价格","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"0487021f-852a-4f5f-b18b-93ad80197bdb"},{"key":"data.is_recomend","value":true,"description":"是否为推荐商品","not_null":1,"field_type":"Boolean","type":"Text","is_checked":1,"__DATAKEY__":"92564169-ab18-4ea6-884f-2b1ea6b22537"},{"key":"data.cat_id","value":8,"description":"叶子分类id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"3124f53c-a1d7-4f71-8584-91d9a7e74d1f"},{"key":"data.cat_one_id","value":1,"description":"一级分类id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"942dde59-2477-4cdb-9e9d-6cf6bd561410"},{"key":"data.cat_two_id","value":7,"description":"二级分类id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"5a0c879f-0c23-407d-bd00-a3a692babdcc"},{"key":"data.cat_three_id","value":8,"description":"三级分类id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"e1debb1d-3a54-4ec7-9550-b20143449bab"},{"key":"data.cat","value":"1,7,8","description":"拼接后的分类路径","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"01baecff-2b06-4633-a533-d60fd3c75e3f"},{"key":"data.pics","value":"[{},{}]","description":"商品主图数组","not_null":1,"field_type":"Array","type":"Text","is_checked":1,"__DATAKEY__":"ac53aed2-5220-4922-88f1-60179bab8609"},{"key":"data.pics.id","value":1,"description":"商品主图id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"7253a748-43f2-43d9-a405-6de886b60038"},{"key":"data.pics.big_url","value":"http:\/\/localhost:8888\/uploads\/goodspics\/big_abad5e3908fd4dac826a3d72569d953b.jpg","description":"商品主图大图路径","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"779d8dc4-acfb-44d2-8019-91930ee52b39"},{"key":"data.pics.mid_url","value":"http:\/\/localhost:8888\/uploads\/goodspics\/mid_abad5e3908fd4dac826a3d72569d953b.jpg","description":"商品主图中图路径","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"153e6405-9541-4975-8772-d0715a4298c0"},{"key":"data.pics.sma_url","value":"http:\/\/localhost:8888\/uploads\/goodspics\/sma_abad5e3908fd4dac826a3d72569d953b.jpg","description":"商品主图小图路径","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"2b578e62-9ff2-4837-9c97-3583f6213152"},{"key":"data.attrs","value":"[{},{}]","description":"商品参数","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"0c998ecf-86eb-4b65-8c4d-33c22f4e39bf"},{"key":"data.attrs.id","value":269,"description":"商品参数id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"68a32e25-ff7f-42ac-bc27-fbe7f0f5be2c"},{"key":"data.attrs.good_id","value":1,"description":"商品参数所属商品id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"567682f4-1537-4ad6-99b2-e35c0ca3eca8"},{"key":"data.attrs.attr_id","value":1,"description":"商品参数所属分类参数id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"0c8dc084-483e-4002-bba4-a3e40e7562a9"},{"key":"data.attrs.name","value":"净含量","description":"商品参数名称","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"752e4ddf-07d2-4deb-adcd-efae87adb93c"},{"key":"data.attrs.value","value":"40g,20g","description":"商品参数的值","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"8b5282e4-acdc-4185-8831-3dfd5e67a1d7"},{"key":"data.attrs.add_price","value":"45","description":"该商品参数需要额外附加的价格","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"12f5f1c2-9e21-4b04-837d-a313d6d0e056"},{"key":"data.attrs.type","value":"dynamic","description":"static:输入框(唯一)  dynamic:后台下拉列表\/前台单选框","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"9b73107d-296c-4b70-a78a-9346178b01db"},{"key":"data.attrs.vals","value":"20g,40g","description":"该商品对应的分类参数的所有的值","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"8b55708a-d70b-4944-bdd6-dd2f0e013eb5"},{"key":"data.sales","value":"18","description":"商品销量","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"5674f944-1c45-45d2-a8aa-794a15001cfe"},{"key":"data.score","value":"4.00000000","description":"商品评价平均分","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"757a5f7c-b951-4962-aaaa-c51426bd9dac"},{"key":"data.comment_all","value":1,"description":"商品所有评价数量","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"f83cfa7b-8465-440c-ad5a-cd6f8074f7c3"},{"key":"data.comment_excellent","value":1,"description":"商品好评数量","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"51afccb7-5bc6-42b0-b074-d710bbe49c7d"},{"key":"data.comment_middle","value":0,"description":"商品中评数量","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"cd6637dd-32b9-41b2-acff-7e03112192d1"},{"key":"data.comment_bad","value":0,"description":"商品差评数量","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"1ff7a153-2b89-49a5-9812-0bcc85230701"},{"key":"data.comment_img","value":1,"description":"商品有图评价数量","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"e4e55aab-91d9-4609-8224-bcb9fe869598"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"9761676d-cb4d-4d28-af8c-d675243a9a22"},{"key":"meta.msg","value":"获取商品数据成功！","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"ba760aae-c171-44f0-8426-4ca5b7bc5e29"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"e8b10ee5-aec9-4599-8b7a-73c607e24340"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"c63072a0-1b08-4403-9912-5a829fa9f735"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"1e740e2c-8a81-4678-a795-73f493588dba"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"获取商品数据失败：商品ID不合法！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为nul","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"5a0c482d-c44a-4445-9e88-69d3a23fb72a"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"de6174c7-b2d6-4203-bac8-00f97b6fb38f"},{"key":"meta.msg","value":"获取商品数据失败：商品ID不合法！","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"5a357608-f1e3-4856-a336-db4dc41f01d6"},{"key":"meta.status","value":400,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"9829cd28-8637-49af-954c-10d5650ee29d"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"ffd99ceb-5b6a-41fa-b1e3-21384a0cf3d8"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"49c6b0dd-b1da-4160-8f41-e7e9e81321c2"}]}}}]},{"local_target_id":"de36a698-b095-451f-9a33-ed8377655978","local_parent_id":"0","name":"分类管理","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","status":1,"sort":5,"create_dtime":1651849127,"update_dtime":1651849125,"target_id":28332682,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"script":{"pre_script":"","test":""},"children":[{"local_target_id":"b86282a7-5192-43ae-a824-fc800bfbb719","local_parent_id":"de36a698-b095-451f-9a33-ed8377655978","name":"获取树状分类","method":"GET","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":1,"create_dtime":1651849169,"update_dtime":1651849557,"target_id":28332693,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/category\/getTree","description":"","auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}},"body":{"mode":"none","parameter":[],"raw":"","raw_para":[]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/category\/getTree"},"response":{"success":{"raw":"{\r\n\t\"data\": [\r\n\t\t{\r\n\t\t\t\"id\": 1,\r\n\t\t\t\"pid\": 0,\r\n\t\t\t\"name\": \"菲茨\",\r\n\t\t\t\"level\": 0,\r\n\t\t\t\"deleted\": true,\r\n\t\t\t\"children\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"id\": 7,\r\n\t\t\t\t\t\"pid\": 1,\r\n\t\t\t\t\t\"name\": \"面部护理\",\r\n\t\t\t\t\t\"level\": 1,\r\n\t\t\t\t\t\"deleted\": true,\r\n\t\t\t\t\t\"children\": [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"id\": 8,\r\n\t\t\t\t\t\t\t\"pid\": 7,\r\n\t\t\t\t\t\t\t\"name\": \"面膜\",\r\n\t\t\t\t\t\t\t\"level\": 2,\r\n\t\t\t\t\t\t\t\"deleted\": true\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"id\": 10,\r\n\t\t\t\t\t\t\t\"pid\": 7,\r\n\t\t\t\t\t\t\t\"name\": \"眼膜\",\r\n\t\t\t\t\t\t\t\"level\": 2,\r\n\t\t\t\t\t\t\t\"deleted\": true\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"id\": 9,\r\n\t\t\t\t\t\"pid\": 1,\r\n\t\t\t\t\t\"name\": \"身体护理\",\r\n\t\t\t\t\t\"level\": 1,\r\n\t\t\t\t\t\"deleted\": true,\r\n\t\t\t\t\t\"children\": [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"id\": 11,\r\n\t\t\t\t\t\t\t\"pid\": 9,\r\n\t\t\t\t\t\t\t\"name\": \"护手霜\",\r\n\t\t\t\t\t\t\t\"level\": 2,\r\n\t\t\t\t\t\t\t\"deleted\": true\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\"id\": 12,\r\n\t\t\t\t\t\t\t\"pid\": 9,\r\n\t\t\t\t\t\t\t\"name\": \"润肤乳\",\r\n\t\t\t\t\t\t\t\"level\": 2,\r\n\t\t\t\t\t\t\t\"deleted\": true\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t]\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": 2,\r\n\t\t\t\"pid\": 0,\r\n\t\t\t\"name\": \"可耐圈\",\r\n\t\t\t\"level\": 0,\r\n\t\t\t\"deleted\": true\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": 3,\r\n\t\t\t\"pid\": 0,\r\n\t\t\t\"name\": \"服装\",\r\n\t\t\t\"level\": 0,\r\n\t\t\t\"deleted\": true\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": 4,\r\n\t\t\t\"pid\": 0,\r\n\t\t\t\"name\": \"其他\",\r\n\t\t\t\"level\": 0,\r\n\t\t\t\"deleted\": true\r\n\t\t}\r\n\t],\r\n\t\"meta\": {\r\n\t\t\"msg\": \"商品分类获取：获取成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"{}","description":"数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"4fea9b50-52a9-4d06-a668-0ab0462afc9a"},{"key":"data.id","value":1,"description":"分类id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"d4f215fc-1d9a-42e3-a169-1d956cffc165"},{"key":"data.pid","value":0,"description":"父级分类id，顶级为0","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"0d1e0075-9b2b-41e4-a57b-e86e3e2bc823"},{"key":"data.name","value":"菲茨","description":"分类名称","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"5fb8c409-12db-4b09-8618-03e9ae8feed6"},{"key":"data.level","value":0,"description":"分类层级","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"543dc476-3591-4abf-a695-ff8d999bfb4b"},{"key":"data.deleted","value":true,"description":"true-启用，false-禁用","not_null":1,"field_type":"Boolean","type":"Text","is_checked":1,"__DATAKEY__":"c8254b4b-518f-43c3-ab30-eaa1f1776e13"},{"key":"data.children","value":"[{},{}]","description":"子分类数组","not_null":1,"field_type":"Array","type":"Text","is_checked":1,"__DATAKEY__":"710f5f8f-ded8-49ca-8c31-0c927a25bcbe"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"fe21bc40-66ee-41d0-b57d-33c9e154a089"},{"key":"meta.msg","value":"商品分类获取：获取成功！","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"48e3e141-9902-41b7-a088-2aaf45035c47"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"ab0a9145-723c-49c9-96e2-c4c1e45c8a71"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"834b2a91-ddb8-4885-9633-145a9f42ef08"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"18326978-4a25-483f-813a-1e7ae368409a"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"商品分类获取：获取失败！\",\r\n\t\t\"status\": 500,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，保措时为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"85acce6a-a87b-4e0c-9a23-66bed0091d1c"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"98168403-44d0-4c91-bddd-aec996d2f365"},{"key":"meta.msg","value":"商品分类获取：获取失败！","description":"返回文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"ad35540c-870a-4c26-a5af-681d9f1e03c1"},{"key":"meta.status","value":500,"description":"请求结果文字描述","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"98158a2f-1364-4df3-ba70-872f01fb33f2"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"66fae4e8-8c10-4b04-b4d1-eb9f03235779"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"b07d856b-80fa-4e4f-9eab-de2ca8622c3d"}]}}}]},{"local_target_id":"63224e7d-21b8-49ed-8f74-4de2c1e6d9a7","local_parent_id":"0","name":"商品收藏","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","status":1,"sort":6,"create_dtime":1651456925,"update_dtime":1651720454,"target_id":28040843,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"script":{"pre_script":"","test":""},"children":[{"local_target_id":"b9358372-13f9-4cf2-aeeb-015e05c95b1f","local_parent_id":"63224e7d-21b8-49ed-8f74-4de2c1e6d9a7","name":"分页查询","method":"POST","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":1,"create_dtime":1651457207,"update_dtime":1651848914,"target_id":28040877,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/collection\/getPage?pagenum=1&pagesize=6","description":"","auth":{"type":"bearer","kv":{"key":"","value":""},"bearer":{"key":"**********"},"basic":{"username":"","password":""}},"body":{"mode":"none","parameter":[],"raw":"","raw_para":[]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[{"is_checked":1,"type":"Text","key":"pagenum","value":"1","not_null":1,"description":"页码，值为大于0的整数","field_type":"Text","__DATAKEY__":"5b2c6043-ddde-40ba-8488-251fd0491cc7","key_var":"","value_var":""},{"is_checked":1,"type":"Text","key":"pagesize","value":"6","not_null":1,"description":"每页显示条数，值为大于0的整数","field_type":"Text","__DATAKEY__":"d23aa74b-bf94-4fa3-b7ff-e8a5193223ee","key_var":"","value_var":""}]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/collection\/getPage?pagenum=1&pagesize=6"},"response":{"success":{"raw":"{\r\n\t\"data\": {\r\n\t\t\"total\": 1,\r\n\t\t\"pagenum\": 1,\r\n\t\t\"collection\": [\r\n\t\t\t{\r\n\t\t\t\t\"id\": 1,\r\n\t\t\t\t\"user_id\": 1,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"good_info\": {\r\n\t\t\t\t\t\"name\": \"PHYT’S菲茨七叶树眼部莹亮水润眼膜涂抹式抚平纹路提亮提升眼周\",\r\n\t\t\t\t\t\"price\": \"111.00\",\r\n\t\t\t\t\t\"is_promote\": 0,\r\n\t\t\t\t\t\"promote_price\": null\r\n\t\t\t\t},\r\n\t\t\t\t\"good_pic\": [\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/mid_abad5e3908fd4dac826a3d72569d953b.jpg\"\r\n\t\t\t\t],\r\n\t\t\t\t\"add_time\": 1651505518\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"获取收藏列表：获取分页数据成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"对象","description":"分页数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"68660d5f-2f6f-46f2-8d1b-c77d2d761557"},{"key":"data.total","value":1,"description":"数据总条数","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"be67b7a1-b6a9-4ac0-ba7f-8f3ca6998c29"},{"key":"data.pagenum","value":1,"description":"当前页码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"a3b02e05-4067-43be-9d8f-88992032dcd2"},{"key":"data.collection","value":"[{},{}]","description":"数据集合","not_null":1,"field_type":"Array","type":"Text","is_checked":1,"__DATAKEY__":"2935e011-0d93-4141-837d-e172971ff175"},{"key":"data.collection.id","value":1,"description":"收藏id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"62099a80-6c74-47cb-8124-35ff94ebc266"},{"key":"data.collection.user_id","value":1,"description":"收藏的用户id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"e13ad969-d7d7-4da8-a491-3f5d3a920396"},{"key":"data.collection.good_id","value":1,"description":"收藏的商品id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"baa458f4-fba3-4fd6-b853-ef0e98df6ace"},{"key":"data.collection.good_info","value":"{}","description":"收藏的商品信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"ee4f5058-3f29-40d0-9d60-73d0fc2066ff"},{"key":"data.collection.good_info.name","value":"PHYT’S菲茨七叶树眼部莹亮水润眼膜涂抹式抚平纹路提亮提升眼周","description":"商品标题","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"110e2118-fde1-487c-ad3f-c41710a630ba"},{"key":"data.collection.good_info.price","value":"111.00","description":"商品价格","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"a4534a69-8d12-408d-9903-5b17dbcbb29f"},{"key":"data.collection.good_info.is_promote","value":0,"description":"商品是否促销价格","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"05678624-74fe-4177-b4a4-dc52645ea827"},{"key":"data.collection.good_info.promote_price","value":"100","description":"商品促销价格","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"0da596df-f301-466a-80b8-a3d77cdbebbc"},{"key":"data.collection.good_pic","value":"[http:\/\/localhost:8888\/uploads\/goodspics\/mid_abad5e3908fd4dac826a3d72569d953b.jpg]","description":"商品图片","not_null":1,"field_type":"Array","type":"Text","is_checked":1,"__DATAKEY__":"49c80c86-4d0e-4dd9-a1cb-43553fc60d5d"},{"key":"data.collection.add_time","value":1651505518,"description":"商品创建时间","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"5aff254d-caae-4127-b663-b45909d98b45"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"db85821b-c86e-44fd-af56-7353e678e837"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"c931ae03-2e42-49b7-b1a7-7f0f94ab052d"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"6bab97f1-d472-4037-8805-a0a7451d8812"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"cfa2f7e3-ac82-45c3-a770-0a82a0a8a4cd"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"40f3d2f9-07e4-4e1b-b590-282e07c06e9b"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"获取收藏列表：pagenum 参数不合法！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为nul","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"fdb92d55-8616-4ccc-8d1a-cac8a733ecec"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"4c521e11-2c52-4cbc-a389-f00e51c43888"},{"key":"meta.msg","value":"获取收藏列表：pagenum 参数不合法！","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"613d4fd7-6544-4be8-ab91-cee86bc3a26b"},{"key":"meta.status","value":400,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"90beec2a-4383-4c46-892c-d456e50d4c3c"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"e44f2a56-e354-4ee8-b667-8823dfc1754e"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"4706f82d-bc1e-424a-a117-99a4cc3874ec"}]}}},{"local_target_id":"659b5023-c4c9-4184-88d2-8763e5690935","local_parent_id":"63224e7d-21b8-49ed-8f74-4de2c1e6d9a7","name":"添加收藏","method":"POST","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":2,"create_dtime":1651459225,"update_dtime":1651848922,"target_id":28042020,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/collection\/insert","description":"","auth":{"type":"bearer","kv":{"key":"","value":""},"bearer":{"key":"**********"},"basic":{"username":"","password":""}},"body":{"mode":"json","parameter":[{"is_checked":1,"type":"Text","key":"good_id","value":"1","not_null":1,"description":"","field_type":"Text","__DATAKEY__":"c41addbd-988b-43d8-9128-1ad52d519fd1","key_var":"","value_var":""}],"raw":"{\r\n    \"good_id\":3,\r\n    \"user_id\":1\r\n}","raw_para":[{"key":"good_id","value":1,"description":"商品id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"78c4fe5e-6ec7-47ff-93b1-73417a42d3e7"},{"key":"user_id","value":1,"description":"会员id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"cde3f196-af80-45b6-b5f3-c1649eac8e41"},{"is_checked":-1,"type":"text","key":"","value":"","not_null":1,"description":"","field_type":"Text","static":true,"__DATAKEY__":"62958d71-fb16-4f83-8a64-7b8b9183f032"}]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/collection\/insert"},"response":{"success":{"raw":"{\r\n\t\"data\": {\r\n\t\t\"id\": 6,\r\n\t\t\"user_id\": 1,\r\n\t\t\"good_id\": 1,\r\n\t\t\"add_time\": 1651552197\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"添加收藏：添加成功！\",\r\n\t\t\"status\": 201,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"对象","description":"收藏的数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"69a32d92-1d11-4b45-80e3-688a891a31f0"},{"key":"data.id","value":6,"description":"收藏id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"38d62cbe-1ba7-4de7-ba02-7286a129466a"},{"key":"data.user_id","value":1,"description":"收藏的会员id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"cb37725f-895a-4e77-b4d1-2fde70f7f0a4"},{"key":"data.good_id","value":1,"description":"收藏的商品id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"0689eb2c-87b1-4203-9ce1-9080f8e297b5"},{"key":"data.add_time","value":1651552197,"description":"收藏的创建时间","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"a9d0e374-59af-4db3-86d6-7338e90babb2"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"d5264ab1-4602-4d7e-af69-0e8b531a5299"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"bba91cb2-d15a-48ec-8725-deb07c040883"},{"key":"meta.status","value":201,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"20eb387a-36d3-409f-ae3b-c7981f5e80a9"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"7172ef25-4493-44dd-ba17-9be61ee867c8"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"6aed03e6-bfe4-458d-8e0c-84c5a4ad9c3b"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"添加收藏：添加失败！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": {\r\n\t\t\t\"name\": \"SequelizeValidationError\",\r\n\t\t\t\"errors\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"message\": \"Validation isInt on good_id failed\",\r\n\t\t\t\t\t\"type\": \"Validation error\",\r\n\t\t\t\t\t\"path\": \"good_id\",\r\n\t\t\t\t\t\"value\": \"a\",\r\n\t\t\t\t\t\"origin\": \"FUNCTION\",\r\n\t\t\t\t\t\"instance\": {\r\n\t\t\t\t\t\t\"add_time\": 1651552197,\r\n\t\t\t\t\t\t\"id\": null,\r\n\t\t\t\t\t\t\"user_id\": 1,\r\n\t\t\t\t\t\t\"good_id\": \"a\"\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"validatorKey\": \"isInt\",\r\n\t\t\t\t\t\"validatorName\": \"isInt\",\r\n\t\t\t\t\t\"validatorArgs\": [\r\n\t\t\t\t\t\ttrue\r\n\t\t\t\t\t],\r\n\t\t\t\t\t\"original\": {\r\n\t\t\t\t\t\t\"validatorName\": \"isInt\",\r\n\t\t\t\t\t\t\"validatorArgs\": [\r\n\t\t\t\t\t\t\ttrue\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"569b1461-e17a-4021-bdd5-81ef14183b87"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"7c127691-46b8-41d7-910b-1eb67a93f40b"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"5dbfb484-a101-40a4-b286-eb2fa08d510b"},{"key":"meta.status","value":400,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"5a1497ff-1238-4e4a-a76b-68228eedbaf4"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"65b05eca-bdf7-473c-8f1c-aac65ec88007"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"c3e67c86-2853-4d8d-99fe-faf0a8eebbea"}]}}},{"local_target_id":"0ce712f8-006b-4e1b-80e8-adf426402f0f","local_parent_id":"63224e7d-21b8-49ed-8f74-4de2c1e6d9a7","name":"单删收藏","method":"DELETE","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":3,"create_dtime":1651506753,"update_dtime":1651848929,"target_id":28054526,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/collection\/delete\/1","description":"","auth":{"type":"bearer","kv":{"key":"","value":""},"bearer":{"key":"**********"},"basic":{"username":"","password":""}},"body":{"mode":"none","parameter":[],"raw":"","raw_para":[]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/collection\/delete\/1"},"response":{"success":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"删除收藏：删除成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，此接口为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"b362638d-b9f6-4800-80c4-de874cc7d492"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"bcb880c7-454a-48d6-9476-a701bbc11055"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"21dde3db-d8d0-4778-946a-8a153c092ab9"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"8f737ae2-6ece-42ce-abad-72ec487ad0a8"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"833108f7-7574-4619-a4d3-3d5a4aec5cbb"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"a81e8b95-c52f-43a3-bc90-11689faa829a"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"删除收藏：ID必须是数字！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null | 对象","description":"数据对象，报错时为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"3e603bcd-b284-44e8-b3ab-5f8f5a5ec4b3"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"2762e318-52d0-4b83-a98a-9f6eac412bf2"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"81d1cb74-3700-4a4b-b57c-f5e861cd1dbd"},{"key":"meta.status","value":400,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"9a7a4877-9b90-403d-a6eb-802960c3af55"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"f59439bf-5233-496d-9bbe-2b005e4b48c9"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"23bd86b0-e2e8-4cf3-a8f4-456ebe4a94da"}]}}},{"local_target_id":"96edb54e-b6a0-49d0-9c6d-4ac3da81a8b4","local_parent_id":"63224e7d-21b8-49ed-8f74-4de2c1e6d9a7","name":"批删收藏","method":"DELETE","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":4,"create_dtime":1651554402,"update_dtime":1651848935,"target_id":28070298,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/collection\/batchDelete","description":"","auth":{"type":"bearer","kv":{"key":"","value":""},"bearer":{"key":"**********"},"basic":{"username":"","password":""}},"body":{"mode":"json","parameter":[{"is_checked":1,"type":"Text","key":"ids","value":"[3,4,5,6]","not_null":1,"description":"要删除的商品的id数组","field_type":"Array","__DATAKEY__":"5e6435a7-a1a9-4fce-bbb5-fa8731cfc652","key_var":"","value_var":""}],"raw":"{\r\n    ids:[3,4]\r\n}","raw_para":[{"is_checked":1,"type":"text","key":"ids","value":"[3,4]","not_null":1,"description":"要删除的商品的id数组","field_type":"Array","static":false,"__DATAKEY__":"b0cdd440-f820-4348-8f5a-ef78e62b082f"},{"is_checked":-1,"type":"text","key":"","value":"","not_null":1,"description":"","field_type":"Text","static":true,"__DATAKEY__":"dbb0f6ff-38e6-4e4f-8540-97a312831539"}]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/collection\/batchDelete"},"response":{"success":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"删除收藏：删除成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，此接口为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"a693e4f1-6360-4ab5-ba45-d9cfe702c41c"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"66dfa760-ade7-4905-a998-7a15b06b8601"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"345d9d5b-0e5a-4ec5-837d-368387541903"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"4dbf6238-f355-4217-87cd-cf75226c8f48"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"e34f29ad-bf80-4a0d-87bb-1b3179a00df5"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"dcbd6656-c12c-49a8-91d3-3af2022ad4c0"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"删除收藏：ID不能为空！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null | 对象","description":"数据对象，报错时为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"089118cf-fd43-4a96-9d9b-771031e8bb81"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"8397d5d5-0ef0-447b-9c0b-f1c52b81d83e"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"d6719b7e-f32d-437e-b78a-e28b2b5a215c"},{"key":"meta.status","value":400,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"a18ffe52-0ec7-4795-b5b4-525ed0df9e37"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"ac86b0ef-58a5-496e-9a73-f430ea2f6c31"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"ce71ca8d-bd55-409a-926d-de93adffe2d0"}]}}},{"local_target_id":"67540af3-b05b-41fe-a47c-6d7287afd127","local_parent_id":"63224e7d-21b8-49ed-8f74-4de2c1e6d9a7","name":"获取收藏","method":"GET","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":5,"create_dtime":1651637840,"update_dtime":1651848948,"target_id":28116264,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/collection\/getCollect?good_id=1&user_id=1","description":"","auth":{"type":"bearer","kv":{"key":"","value":""},"bearer":{"key":"**********"},"basic":{"username":"","password":""}},"body":{"mode":"none","parameter":[],"raw":"","raw_para":[]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[{"description":"商品id","is_checked":1,"key":"good_id","type":"Text","not_null":1,"field_type":"Text","value":"1","key_var":"","value_var":""},{"description":"会员id","is_checked":1,"key":"user_id","type":"Text","not_null":1,"field_type":"Text","value":"1","key_var":"","value_var":""}]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/collection\/getCollect?good_id=1&user_id=1"},"response":{"success":{"raw":"{\r\n\t\"data\": {\r\n\t\t\"id\": 6,\r\n\t\t\"good_id\": 1,\r\n\t\t\"user_id\": 1,\r\n\t\t\"add_time\": 1651552197\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"获取收藏数据：获取成功\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null | 对象","description":"数据对象，获取不到内容时为nul","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"599f79ad-0a07-4675-ba30-dd959d803577"},{"key":"data.id","value":6,"description":"收藏id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"3724492a-7e84-4981-b6c1-bc0671fbac2f"},{"key":"data.good_id","value":1,"description":"收藏的商品id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"153cb1c3-3e3c-4a5c-8c41-a0ffe0294631"},{"key":"data.user_id","value":1,"description":"收藏的会员id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"9feb7724-e9f4-4960-aea6-1943f20c9355"},{"key":"data.add_time","value":1651552197,"description":"收藏的时间","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"5ecd2ade-8456-49e2-9d0d-43df76235b19"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"44b36b79-1bda-4e9f-b5ee-6cb80b026d3e"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"bed6405d-2e47-4633-9008-5556075f042f"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"ed648867-3d8f-4155-bd78-9de897a7352f"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"1ef1da18-bc5e-4405-9da7-7f9a871e9c46"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"a8515430-9e31-4127-8032-857a4dc145c7"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"获取收藏数据：商品ID不合法！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为nul","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"a0be536b-4e65-4bd2-af00-3d6e9a4f009c"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"84c3e7ca-1a75-4831-b96b-4ff302ad5d12"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"7d672e62-bce5-4116-994c-4fca4cc6c5fe"},{"key":"meta.status","value":400,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"d4fb0b57-b40a-4507-8cb8-9bdf0869c1a1"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"ccd0df8b-73de-40c4-9936-6a2c84e01139"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"895fa60e-a14e-4067-b755-44c117a00bd3"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"6be3ca60-84ec-45fa-854c-879a88cab9f9"}]}}}]},{"local_target_id":"ef44aa17-bcaa-4032-be16-3767a2f5181d","local_parent_id":"0","name":"评价管理","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","status":1,"sort":7,"create_dtime":1651849608,"update_dtime":1651849606,"target_id":28332814,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"script":{"pre_script":"","test":""},"children":[{"local_target_id":"0511feeb-e752-4e5c-a5ce-178eea96f7a3","local_parent_id":"ef44aa17-bcaa-4032-be16-3767a2f5181d","name":"分页查询","method":"POST","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":1,"create_dtime":1651849718,"update_dtime":1651852248,"target_id":28332846,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/comment\/getPage?pagenum=1&pagesize=6","description":"","auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}},"body":{"mode":"json","parameter":[],"raw":"{\r\n    \"good_id\": 1,\r\n    \"overall_rating\": [ 0, 3 ],\r\n    \"has_img\": 1\r\n}","raw_para":[{"key":"good_id","value":1,"description":"筛选条件：根据评价所属商品id进行筛选","not_null":"-1","field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"58de02f4-5533-4f62-8781-9dcb5565d3a8"},{"key":"user_id","value":500,"description":"筛选条件：根据评价所属会员id进行筛选","not_null":"-1","field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"64d31540-d219-4b8a-a704-22e81c6a2d6e"},{"key":"overall_rating","value":"[ 0, 3 ]","description":"筛选条件：根据评价综合评分进行筛选（差评-[0,3]，中评-[3,4]，好评-[4,5]）","not_null":"-1","field_type":"Array","type":"Text","is_checked":1,"__DATAKEY__":"557a7c97-db52-4d94-bbb6-0a1793261394"},{"key":"has_img","value":1,"description":"筛选条件：根据评价是否有图进行筛选（0-无，1-有）","not_null":"-1","field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"dc1c06b0-a903-4d6c-bb15-fd09cc54b06b"},{"is_checked":-1,"type":"text","key":"","value":"","not_null":1,"description":"","field_type":"Text","static":true,"__DATAKEY__":"b7f9b3c8-11e9-4188-b636-5891a1003e30"}]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[{"description":"页码，值为大于0的整数","is_checked":1,"key":"pagenum","type":"Text","not_null":1,"field_type":"Text","value":"1","key_var":"","value_var":""},{"description":"每页显示条数，值为大于0的整数","is_checked":1,"key":"pagesize","type":"Text","not_null":1,"field_type":"Text","value":"6","key_var":"","value_var":""}]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/comment\/getPage?pagenum=1&pagesize=6"},"response":{"success":{"raw":"{\r\n\t\"data\": {\r\n\t\t\"total\": 1,\r\n\t\t\"pagenum\": 1,\r\n\t\t\"comment\": [\r\n\t\t\t{\r\n\t\t\t\t\"id\": 5,\r\n\t\t\t\t\"order_id\": 91,\r\n\t\t\t\t\"order_code\": \"tj7h441qckyh2i6sp\",\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"user_id\": 500,\r\n\t\t\t\t\"user_name\": \"admin\",\r\n\t\t\t\t\"content\": \"很大一瓶 这个价钱蛮实惠的 拿回来的时候我室友还以为我买了个洗头发的 瓶子很高级 刚刚用口红在手上涂了一下然后去洗清洁效果还可以差不多洗掉了剩了一点点印子 然后我又用洗面奶洗.\",\r\n\t\t\t\t\"overall_rating\": 4,\r\n\t\t\t\t\"good_rating\": 4,\r\n\t\t\t\t\"delivery_rating\": 5,\r\n\t\t\t\t\"service_rating\": 3,\r\n\t\t\t\t\"pics\": [\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/commentpics\/fd9e63a238f2fba7a45b37bd0c5faffd.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/commentpics\/af28624fd7479a2bd51e8a5a1300b6ac.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/commentpics\/5624598c520d7ae92d9f78f89c478be0.jpg\"\r\n\t\t\t\t],\r\n\t\t\t\t\"deleted\": true,\r\n\t\t\t\t\"add_time\": 1651119497,\r\n\t\t\t\t\"upd_time\": null,\r\n\t\t\t\t\"has_img\": 1,\r\n\t\t\t\t\"order_time\": 1642326014\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"获取评价列表：获取分页数据成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"{}","description":"分页数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"09255ad3-d988-4a84-a144-90a232294802"},{"key":"data.total","value":1,"description":"数据总条数","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"0d13530a-5c5e-49a5-b4ad-7d25433f9b5b"},{"key":"data.pagenum","value":1,"description":"当前页码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"af694fbc-5eac-4b28-8511-0021cb5c2a29"},{"key":"data.comment","value":"[{},{}]","description":"数据集合","not_null":1,"field_type":"Array","type":"Text","is_checked":1,"__DATAKEY__":"e7068b63-a17e-4a09-893b-ad8fd07d550c"},{"key":"data.comment.id","value":5,"description":"评价id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"20f261e1-5aed-4cf0-9384-8c26010b7973"},{"key":"data.comment.order_id","value":91,"description":"评价订单id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"b1287b0e-a085-4b74-acfb-7dbc194a5aeb"},{"key":"data.comment.order_code","value":"tj7h441qckyh2i6sp","description":"评价订单编号","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"93622f10-406c-4c06-86cb-6ed542c4d7dc"},{"key":"data.comment.good_id","value":1,"description":"评价商品id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"32fc14ff-6223-47cf-a0b4-df5132e2d020"},{"key":"data.comment.user_id","value":500,"description":"评价会员id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"4cb49c02-4a34-40ab-8255-b801e09f7b60"},{"key":"data.comment.user_name","value":"admin","description":"评价会员名称","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"4ff528b9-0be1-4332-855d-8ddb206310d5"},{"key":"data.comment.content","value":"很大一瓶 这个价钱蛮实惠的 拿回来的时候我室友还以为我买了个洗头发的 瓶子很高级 刚刚用口红在手上涂了一下然后去洗清洁效果还可以差不多洗掉了剩了一点点印子 然后我又用洗面奶洗.","description":"评价内容","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"aa6f6e84-1280-4517-94a7-6a8b618b9e67"},{"key":"data.comment.overall_rating","value":4,"description":"评价综合评分","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"bcb495b6-3a45-4f4a-8c30-e83ecd667ab8"},{"key":"data.comment.good_rating","value":4,"description":"评价商品描述评分","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"180e6240-8878-4083-9812-bd3934613960"},{"key":"data.comment.delivery_rating","value":5,"description":"评价物流评分","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"619c52af-811c-422a-a9de-df7fcc5ce693"},{"key":"data.comment.service_rating","value":3,"description":"评价服务评分","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"aec9696f-c6b4-4419-b11f-252a79565a8e"},{"key":"data.comment.pics","value":"[http:\/\/localhost:8888\/uploads\/commentpics\/fd9e63a238f2fba7a45b37bd0c5faffd.jpg]","description":"评价上传图片","not_null":1,"field_type":"Array","type":"Text","is_checked":1,"__DATAKEY__":"12911183-bdc4-4483-b904-96070276e01b"},{"key":"data.comment.deleted","value":true,"description":"true-启用，false-禁用","not_null":1,"field_type":"Boolean","type":"Text","is_checked":1,"__DATAKEY__":"04e8a212-d198-40e7-b0e1-439337e3aa0e"},{"key":"data.comment.add_time","value":1651119497,"description":"创建时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"TimeStamp","type":"Text","is_checked":1,"__DATAKEY__":"2836cfa7-188a-423d-812a-f59fe174b787"},{"key":"data.comment.upd_time","value":"1651119497","description":"更新时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"TimeStamp","type":"Text","is_checked":1,"__DATAKEY__":"1c7b3fbb-3355-4370-8c96-adabfbda5c67"},{"key":"data.comment.order_time","value":1642326014,"description":"下单时间（10位时间戳，js中使用要乘以1000）","not_null":1,"field_type":"TimeStamp","type":"Text","is_checked":1,"__DATAKEY__":"5f2c7e76-e819-4676-80d4-6be0e0f5b4d4"},{"key":"data.comment.has_img","value":1,"description":"评价是否有图（0-无，1-有）","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"f3af608a-5095-4017-814b-c04ca8601973"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"81752d1b-87ad-4da6-b7b5-69ef35bb732e"},{"key":"meta.msg","value":"获取评价列表：获取分页数据成功！","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"badf5d3a-2910-473d-9c3a-780569b439ce"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"d9a4dda4-fe44-4d6b-8b88-06f81772a4d4"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"cfc99a15-9b81-44ee-adec-4920c6a097ec"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"dfe2e145-6d21-4a9b-ade3-80cef1a02952"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"pagenum 参数不合法！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为nul","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"7d5565b7-e72e-4600-a520-7748df0f42e9"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"e4b5695f-1300-4a5c-b3e5-dbee75391338"},{"key":"meta.msg","value":"pagenum 参数不合法！","description":"返回文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"d50652ac-f9ac-4d21-a671-b5c04642b09e"},{"key":"meta.status","value":400,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"4e9ea1e7-d180-42f6-be18-691086ac628d"},{"key":"meta.stack","value":"null | {}","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"fed96d61-27e0-4218-b86e-29ca51e48c4b"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"17632523-8a32-4410-bdff-096190084144"}]}}}]},{"local_target_id":"404cbfd4-af38-49e5-944f-b2d05eeb10a8","local_parent_id":"0","name":"购物车管理","method":"POST","mark":"developing","is_doc":0,"target_type":"folder","status":1,"sort":8,"create_dtime":1651720442,"update_dtime":1651720428,"target_id":28159406,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"description":"","header":[],"query":[],"body":[],"auth":{"type":"noauth","kv":{"key":"","value":""},"bearer":{"key":""},"basic":{"username":"","password":""}}},"script":{"pre_script":"","test":""},"children":[{"local_target_id":"741f18a0-6328-4c37-b017-39fa7d2b69e3","local_parent_id":"404cbfd4-af38-49e5-944f-b2d05eeb10a8","name":"分页查询","method":"POST","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":0,"create_dtime":1651798044,"update_dtime":1651848956,"target_id":28241156,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/cart\/getPage?pagenum=1&pagesize=6","description":"","auth":{"type":"bearer","kv":{"key":"","value":""},"bearer":{"key":"**********"},"basic":{"username":"","password":""}},"body":{"mode":"none","parameter":[],"raw":"","raw_para":[]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[{"description":"页码，值为大于0的整数","is_checked":1,"key":"pagenum","type":"Text","not_null":1,"field_type":"Text","value":"1","key_var":"","value_var":""},{"description":"每页显示条数，值为大于0的整数","is_checked":1,"key":"pagesize","type":"Text","not_null":1,"field_type":"Text","value":"6","key_var":"","value_var":""}]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/cart\/getPage?pagenum=1&pagesize=6"},"response":{"success":{"raw":"{\r\n\t\"data\": {\r\n\t\t\"total\": 2,\r\n\t\t\"pagenum\": 1,\r\n\t\t\"cart\": [\r\n\t\t\t{\r\n\t\t\t\t\"id\": 10,\r\n\t\t\t\t\"user_id\": 1,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"good_count\": 41,\r\n\t\t\t\t\"cat_one_id\": 1,\r\n\t\t\t\t\"cat_two_id\": 7,\r\n\t\t\t\t\"cat_three_id\": 8,\r\n\t\t\t\t\"good_pic\": [\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/mid_abad5e3908fd4dac826a3d72569d953b.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/mid_c7426f0afd406a581fd3b8dced51502c.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/mid_9e9d6fcb17baea1dabaf6ddf8dfca780.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/mid_754954c7da73e8d10da28727e7d7a743.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/mid_32826032d24149258d17ddcbcc78eeee.jpg\"\r\n\t\t\t\t],\r\n\t\t\t\t\"good_info\": {\r\n\t\t\t\t\t\"name\": \"PHYT’S菲茨七叶树眼部莹亮水润眼膜涂抹式抚平纹路提亮提升眼周\",\r\n\t\t\t\t\t\"price\": \"111.00\",\r\n\t\t\t\t\t\"is_promote\": 0,\r\n\t\t\t\t\t\"promote_price\": null\r\n\t\t\t\t},\r\n\t\t\t\t\"good_sku\": [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"sku_name\": \"净含量\",\r\n\t\t\t\t\t\t\"sku_value\": \"60\"\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\t\"id\": 9,\r\n\t\t\t\t\"user_id\": 1,\r\n\t\t\t\t\"good_id\": 1,\r\n\t\t\t\t\"good_count\": 4,\r\n\t\t\t\t\"cat_one_id\": 1,\r\n\t\t\t\t\"cat_two_id\": 7,\r\n\t\t\t\t\"cat_three_id\": 8,\r\n\t\t\t\t\"good_pic\": [\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/mid_abad5e3908fd4dac826a3d72569d953b.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/mid_c7426f0afd406a581fd3b8dced51502c.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/mid_9e9d6fcb17baea1dabaf6ddf8dfca780.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/mid_754954c7da73e8d10da28727e7d7a743.jpg\",\r\n\t\t\t\t\t\"http:\/\/localhost:8888\/uploads\/goodspics\/mid_32826032d24149258d17ddcbcc78eeee.jpg\"\r\n\t\t\t\t],\r\n\t\t\t\t\"good_info\": {\r\n\t\t\t\t\t\"name\": \"PHYT’S菲茨七叶树眼部莹亮水润眼膜涂抹式抚平纹路提亮提升眼周\",\r\n\t\t\t\t\t\"price\": \"111.00\",\r\n\t\t\t\t\t\"is_promote\": 0,\r\n\t\t\t\t\t\"promote_price\": null\r\n\t\t\t\t},\r\n\t\t\t\t\"good_sku\": [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"sku_name\": \"净含量\",\r\n\t\t\t\t\t\t\"sku_value\": \"40\"\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t}\r\n\t\t]\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"获取购物车列表：获取分页数据成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"{}","description":"分页数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"f31edb5f-2cbb-4880-903c-dd0580105e36"},{"key":"data.total","value":2,"description":"数据总条数","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"b82d33a7-9e99-404d-8fc6-433079ee7aaf"},{"key":"data.pagenum","value":1,"description":"当前页码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"938b4c92-5b23-420e-9e5c-93f5f4be0e26"},{"key":"data.cart","value":"[{},{}]","description":"数据集合","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"80e8b9c8-4fcc-4aa1-bdac-58ec087a1835"},{"key":"data.cart.id","value":10,"description":"购物车id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"9201650d-847e-4241-a5b1-eb2e20fbc390"},{"key":"data.cart.user_id","value":1,"description":"购物车商品id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"7a108876-60f3-4b86-80a7-8c69b2eded4a"},{"key":"data.cart.good_id","value":1,"description":"购物车会员id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"5a3763e2-7466-407c-a782-64ec3d7270f6"},{"key":"data.cart.good_count","value":41,"description":"购物车商品数量","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"9af71504-1f5f-46ca-9d4e-a14028458d4d"},{"key":"data.cart.cat_one_id","value":1,"description":"购物车商品所属一级分类","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"3671be75-95e7-4a56-889c-04959e14da70"},{"key":"data.cart.cat_two_id","value":7,"description":"购物车商品所属二级分类","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"ca1fea35-1847-4451-8503-bc0771d70c57"},{"key":"data.cart.cat_three_id","value":8,"description":"购物车商品所属三级分类","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"5d266f65-cf03-45aa-b326-d86ef6b53f47"},{"key":"data.cart.good_pic","value":"[http:\/\/localhost:8888\/uploads\/goodspics\/mid_abad5e3908fd4dac826a3d72569d953b.jpg]","description":"购物车商品图片","not_null":1,"field_type":"Array","type":"Text","is_checked":1,"__DATAKEY__":"40426f0c-d400-4bee-ab0b-bde1a431b50f"},{"key":"data.cart.good_info","value":"{}","description":"购物车商品信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"28580a79-84ed-4cb5-81f3-383500f2c9a5"},{"key":"data.cart.good_info.name","value":"PHYT’S菲茨七叶树眼部莹亮水润眼膜涂抹式抚平纹路提亮提升眼周","description":"商品名称","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"dc78e88f-b148-48f6-b962-f0d41d17ec52"},{"key":"data.cart.good_info.price","value":"111.00","description":"商品价格","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"3c10c398-3de7-4002-99be-1147b0ec9702"},{"key":"data.cart.good_info.is_promote","value":0,"description":"是否促销（0未促销，1促销）","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"301853e5-e631-4b62-acd2-f77f255954bd"},{"key":"data.cart.good_info.promote_price","value":"null | 数值","description":"促销价格（促销时为数值，为促销为null）","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"49f1e650-6070-4b93-af00-bd7712862921"},{"key":"data.cart.good_sku","value":"[{sku_name,sku_value},{sku_name,sku_value}]","description":"商品规格","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"505ed7d4-50c6-40c6-967c-d8d47ea2e141"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"32dd4cc5-4696-4bd9-81b2-e68354d42de4"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"7f37bf48-d55e-457e-bed8-ed1d9aa93031"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"1ca978fa-f1d1-48e2-816d-534cdce8845b"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"9c9e0a9a-c6ad-468b-9f75-ea278cfc9d4b"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"da0c25cd-dce5-4072-b73e-12cdf48dcd09"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"获取购物车列表：pagenum 参数不合法！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为nul","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"fdb92d55-8616-4ccc-8d1a-cac8a733ecec"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"4c521e11-2c52-4cbc-a389-f00e51c43888"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"613d4fd7-6544-4be8-ab91-cee86bc3a26b"},{"key":"meta.status","value":400,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"90beec2a-4383-4c46-892c-d456e50d4c3c"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"e44f2a56-e354-4ee8-b667-8823dfc1754e"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"4706f82d-bc1e-424a-a117-99a4cc3874ec"}]}}},{"local_target_id":"2915997d-24b5-42c8-ad91-b3ef05399ad9","local_parent_id":"404cbfd4-af38-49e5-944f-b2d05eeb10a8","name":"添加购物车","method":"POST","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":1,"create_dtime":1651720476,"update_dtime":1651848962,"target_id":28159436,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/cart\/insert","description":"","auth":{"type":"bearer","kv":{"key":"","value":""},"bearer":{"key":"**********"},"basic":{"username":"","password":""}},"body":{"mode":"json","parameter":[],"raw":"{\r\n\t\"user_id\": 1,\r\n\t\"good_id\": 1,\r\n\t\"good_count\": 8,\r\n\t\"good_sku\": [\r\n\t\t{\r\n\t\t\t\"sku_name\": \"净含量\",\r\n\t\t\t\"sku_value\": \"60\"\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"sku_name\": \"颜色\",\r\n\t\t\t\"sku_value\": \"白\"\r\n\t\t}\r\n\t],\r\n\t\"cat_one_id\": 1,\r\n\t\"cat_two_id\": 7,\r\n\t\"cat_three_id\": 8\r\n}","raw_para":[{"key":"user_id","value":1,"description":"会员id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"8c2dca66-3d1c-4c7b-80df-5f152dcf8f19"},{"key":"good_id","value":1,"description":"商品id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"b1234fd3-9ce3-456c-b277-03664e6c2f3a"},{"key":"good_count","value":8,"description":"商品数量","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"38871b9a-594c-423e-a824-eb8a5913d443"},{"key":"good_sku","value":"[{\"sku_name\": \"净含量\",\"sku_value\": \"60g\"}]","description":"商品规格数组","not_null":"-1","field_type":"Array","type":"Text","is_checked":1,"__DATAKEY__":"594acda1-6f1e-4489-b650-444e82c6bac6"},{"key":"cat_one_id","value":1,"description":"商品一级分类id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"ce36154b-6d45-4b62-893f-a91b4b6c00db"},{"key":"cat_two_id","value":7,"description":"商品二级分类id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"13ae917e-f6f0-4d58-865e-547ff77cf3d5"},{"key":"cat_three_id","value":8,"description":"商品三级分类id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"ab720816-35f1-4416-91c6-2eb021700880"},{"is_checked":-1,"type":"text","key":"","value":"","not_null":1,"description":"","field_type":"Text","static":true,"__DATAKEY__":"4b208920-f209-4178-9145-8280e364d347"}]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/cart\/insert"},"response":{"success":{"raw":"\/\/ 有相同规格商品，则更新数量\r\n{\r\n\t\"data\": {\r\n\t\t\"id\": 4,\r\n\t\t\"user_id\": 1,\r\n\t\t\"good_id\": 1,\r\n\t\t\"good_count\": 8,\r\n\t\t\"cat_one_id\": 1,\r\n\t\t\"cat_two_id\": 7,\r\n\t\t\"cat_three_id\": 8\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"更新购物车：更新成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}\r\n\/\/ 无相同规格商品，则添加\r\n{\r\n\t\"data\": {\r\n\t\t\"id\": 5,\r\n\t\t\"user_id\": 1,\r\n\t\t\"good_id\": 2,\r\n\t\t\"good_count\": 8,\r\n\t\t\"cat_one_id\": 1,\r\n\t\t\"cat_two_id\": 7,\r\n\t\t\"cat_three_id\": 8\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"添加购物车：添加成功！\",\r\n\t\t\"status\": 201,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"添加购物车：添加失败！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": {\r\n\t\t\t\"name\": \"SequelizeValidationError\",\r\n\t\t\t\"errors\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"message\": \"Validation isInt on good_id failed\",\r\n\t\t\t\t\t\"type\": \"Validation error\",\r\n\t\t\t\t\t\"path\": \"good_id\",\r\n\t\t\t\t\t\"value\": \"ada\",\r\n\t\t\t\t\t\"origin\": \"FUNCTION\",\r\n\t\t\t\t\t\"instance\": {\r\n\t\t\t\t\t\t\"id\": null,\r\n\t\t\t\t\t\t\"user_id\": 1,\r\n\t\t\t\t\t\t\"good_id\": \"ada\",\r\n\t\t\t\t\t\t\"good_count\": 8,\r\n\t\t\t\t\t\t\"cat_one_id\": 1,\r\n\t\t\t\t\t\t\"cat_two_id\": 7,\r\n\t\t\t\t\t\t\"cat_three_id\": 8\r\n\t\t\t\t\t},\r\n\t\t\t\t\t\"validatorKey\": \"isInt\",\r\n\t\t\t\t\t\"validatorName\": \"isInt\",\r\n\t\t\t\t\t\"validatorArgs\": [\r\n\t\t\t\t\t\ttrue\r\n\t\t\t\t\t],\r\n\t\t\t\t\t\"original\": {\r\n\t\t\t\t\t\t\"validatorName\": \"isInt\",\r\n\t\t\t\t\t\t\"validatorArgs\": [\r\n\t\t\t\t\t\t\ttrue\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为nul","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"953c1ea3-40dd-4128-8957-6de5269348c2"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"482da7fa-3af0-4cd8-a50e-30afcc1f23d4"},{"key":"meta.msg","value":"字符串","description":"返回文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"9f38f8a3-75d3-4e7b-bb9f-0c03fcc65143"},{"key":"meta.status","value":400,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"5d4e9532-01ff-4726-9c22-ae027a437c48"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"2d1731f3-bf08-4a23-81e4-1742699ae3e1"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"ddfb3d7c-75bb-4d72-a7ef-8a9d49d4027e"}]}}},{"local_target_id":"1ee640ec-60ef-409b-b902-59d3152e83dd","local_parent_id":"404cbfd4-af38-49e5-944f-b2d05eeb10a8","name":"单删购物车","method":"DELETE","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":2,"create_dtime":1651797650,"update_dtime":1651848968,"target_id":28240998,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/cart\/delete\/7","description":"","auth":{"type":"bearer","kv":{"key":"","value":""},"bearer":{"key":"**********"},"basic":{"username":"","password":""}},"body":{"mode":"none","parameter":[],"raw":"","raw_para":[]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/cart\/delete\/7"},"response":{"success":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"删除购物车：删除成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，此接口为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"b362638d-b9f6-4800-80c4-de874cc7d492"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"bcb880c7-454a-48d6-9476-a701bbc11055"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"21dde3db-d8d0-4778-946a-8a153c092ab9"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"8f737ae2-6ece-42ce-abad-72ec487ad0a8"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"833108f7-7574-4619-a4d3-3d5a4aec5cbb"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"a81e8b95-c52f-43a3-bc90-11689faa829a"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"删除购物车：ID必须是数字！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null | 对象","description":"数据对象，报错时为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"3e603bcd-b284-44e8-b3ab-5f8f5a5ec4b3"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"2762e318-52d0-4b83-a98a-9f6eac412bf2"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"81d1cb74-3700-4a4b-b57c-f5e861cd1dbd"},{"key":"meta.status","value":400,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"9a7a4877-9b90-403d-a6eb-802960c3af55"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"f59439bf-5233-496d-9bbe-2b005e4b48c9"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"23bd86b0-e2e8-4cf3-a8f4-456ebe4a94da"}]}}},{"local_target_id":"bce3f1c5-7aca-4f69-8b44-a7d74dfb05f1","local_parent_id":"404cbfd4-af38-49e5-944f-b2d05eeb10a8","name":"批删购物车","method":"DELETE","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":3,"create_dtime":1651797860,"update_dtime":1651848974,"target_id":28241072,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/cart\/batchDelete","description":"","auth":{"type":"bearer","kv":{"key":"","value":""},"bearer":{"key":"**********"},"basic":{"username":"","password":""}},"body":{"mode":"json","parameter":[{"is_checked":1,"type":"Text","key":"ids","value":"[3,4,5,6]","not_null":1,"description":"要删除的商品的id数组","field_type":"Array","__DATAKEY__":"5e6435a7-a1a9-4fce-bbb5-fa8731cfc652","key_var":"","value_var":""}],"raw":"{\r\n    ids:[8]\r\n}","raw_para":[{"is_checked":1,"type":"text","key":"ids","value":"[3,4]","not_null":1,"description":"要删除的购物车商品的id数组","field_type":"Array","static":false,"__DATAKEY__":"b0cdd440-f820-4348-8f5a-ef78e62b082f"},{"is_checked":-1,"type":"text","key":"","value":"","not_null":1,"description":"","field_type":"Text","static":true,"__DATAKEY__":"dbb0f6ff-38e6-4e4f-8540-97a312831539"}]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/cart\/batchDelete"},"response":{"success":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"删除购物车：删除成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，此接口为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"a693e4f1-6360-4ab5-ba45-d9cfe702c41c"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"66dfa760-ade7-4905-a998-7a15b06b8601"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"345d9d5b-0e5a-4ec5-837d-368387541903"},{"key":"meta.status","value":200,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"4dbf6238-f355-4217-87cd-cf75226c8f48"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"e34f29ad-bf80-4a0d-87bb-1b3179a00df5"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"dcbd6656-c12c-49a8-91d3-3af2022ad4c0"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"删除购物车：ID不能为空！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null | 对象","description":"数据对象，报错时为null","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"089118cf-fd43-4a96-9d9b-771031e8bb81"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"8397d5d5-0ef0-447b-9c0b-f1c52b81d83e"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"d6719b7e-f32d-437e-b78a-e28b2b5a215c"},{"key":"meta.status","value":400,"description":"请求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"a18ffe52-0ec7-4795-b5b4-525ed0df9e37"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"ac86b0ef-58a5-496e-9a73-f430ea2f6c31"},{"is_checked":-1,"type":"text","key":"","value":"","description":"","field_type":"Text","static":true,"__DATAKEY__":"ce71ca8d-bd55-409a-926d-de93adffe2d0"}]}}},{"local_target_id":"7a7c0ac3-8ae0-4815-80e8-252dddf205bb","local_parent_id":"404cbfd4-af38-49e5-944f-b2d05eeb10a8","name":"修改购物车","method":"PUT","mark":"complated","is_doc":0,"target_type":"api","status":1,"sort":4,"create_dtime":1651809837,"update_dtime":1651848979,"target_id":28271447,"create_users":{"create_user":"eda","update_user":"eda"},"request":{"url":"http:\/\/localhost:8888\/api\/front\/cart\/update\/1","description":"","auth":{"type":"bearer","kv":{"key":"","value":""},"bearer":{"key":"**********"},"basic":{"username":"","password":""}},"body":{"mode":"json","parameter":[],"raw":"{\r\n    \"good_count\": 1\r\n}","raw_para":[{"is_checked":1,"type":"text","key":"good_count","value":"1","not_null":1,"description":"商品数量","field_type":"Number","__DATAKEY__":"168f4c74-db16-4dfc-a54d-359f8259a0a1"},{"is_checked":-1,"type":"text","key":"","value":"","not_null":1,"description":"","field_type":"Text","__DATAKEY__":"53f930fc-4eda-45ce-a0e4-74d2d0b762e5"}]},"event":{"pre_script":"","test":""},"header":{"parameter":[]},"query":{"parameter":[]},"cookie":{"parameter":[]},"resful":{"parameter":[]},"url_var":"http:\/\/localhost:8888\/api\/front\/cart\/update\/1"},"response":{"success":{"raw":"{\r\n\t\"data\": {\r\n\t\t\"id\": 1,\r\n\t\t\"user_id\": 1,\r\n\t\t\"good_id\": 1,\r\n\t\t\"good_count\": 1,\r\n\t\t\"cat_one_id\": 1,\r\n\t\t\"cat_two_id\": 7,\r\n\t\t\"cat_three_id\": 8\r\n\t},\r\n\t\"meta\": {\r\n\t\t\"msg\": \"更新购物车：更新成功！\",\r\n\t\t\"status\": 200,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"{}","description":"数据对象","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"f27ae096-b115-4e3e-ae6a-f5304144f0c3"},{"key":"data.id","value":1,"description":"购物车id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"d88d168d-a348-46e1-9618-7fca2a8117a5"},{"key":"data.user_id","value":1,"description":"购物车会员id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"454ea4f5-e941-4ec8-adcc-b5c357aabbf3"},{"key":"data.good_id","value":1,"description":"购物车商品id","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"1c0b4c17-5d6e-44ec-b957-5700c369ba2e"},{"key":"data.good_count","value":1,"description":"购物车商品数量","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"c2f281b8-aded-496c-acf9-4fbaa2a85fa4"},{"key":"data.cat_one_id","value":1,"description":"购物车商品所属一级分类","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"587d48c5-dc84-4b33-bc66-8ea32dabf17b"},{"key":"data.cat_two_id","value":7,"description":"购物车商品所属二级分类","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"1ceb15c9-6dce-47a2-9f0e-7115a304db3a"},{"key":"data.cat_three_id","value":8,"description":"购物车商品所属三级分类","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"7d39078d-313b-41ea-ad13-39736435e576"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"7387262a-a1ac-488b-a30b-b181e6f134b5"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"1422f064-702a-4f78-9fd8-9911ba195e7c"},{"key":"meta.status","value":200,"description":"求请状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"e6d8af88-82cf-4b73-9245-8e3010d16d70"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"db6af967-1907-427c-a2c8-086520aa84d5"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"19d5f94b-f6ad-49b0-a214-e80801d40ed0"}]},"error":{"raw":"{\r\n\t\"data\": null,\r\n\t\"meta\": {\r\n\t\t\"msg\": \"更新购物车：商品数量不合法！\",\r\n\t\t\"status\": 400,\r\n\t\t\"stack\": null\r\n\t}\r\n}","parameter":[{"key":"data","value":"null","description":"数据对象，报错时为nul","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"c68d18b4-3177-4444-bc99-0df2f482ea33"},{"key":"meta","value":"{}","description":"接口返回的额外信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"b1aa70e9-5ae1-4571-99a9-9a3b313be136"},{"key":"meta.msg","value":"字符串","description":"请求结果文字描述","not_null":1,"field_type":"String","type":"Text","is_checked":1,"__DATAKEY__":"4ed59833-8c43-4f18-b1f8-599b6d4afc42"},{"key":"meta.status","value":400,"description":"求状态码","not_null":1,"field_type":"Number","type":"Text","is_checked":1,"__DATAKEY__":"a6fd2d74-9dcd-45e7-9514-c9c3b754eb72"},{"key":"meta.stack","value":"null | 对象","description":"请求报错信息","not_null":1,"field_type":"Object","type":"Text","is_checked":1,"__DATAKEY__":"a4bcbc01-8c8c-4484-8469-37d837ff215a"},{"is_checked":1,"type":"类型","key":"","value":"","description":"","field_type":"Text","__DATAKEY__":"227e350d-f421-4eb3-a3b0-747504746771"}]}}}]}]};
    function GetUrlQuery(uri) {
        let url = '';
        if (typeof uri === 'undefined') {
            url = window.location.search;
        } else {
            url = `?${uri.split('?')[1]}`;
        }
        const theRequest = {};
        if (url.indexOf('?') !== -1) {
            const str = url.substr(1);
            const strs = str.split('&');
            for (let i = 0; i < strs.length; i++) {
                theRequest[strs[i].split('=')[0]] = unescape(strs[i].split('=')[1]);
            }
        }
        return theRequest;
    };

    function findFatherDom(el) {
        if (el.parent().parent().children(":first").hasClass('folder')) {
            el.parent().parent().show()
            console.log(el.parent().parent());
            el.parent().parent().children().show()
            el.parent().parent().children(":first").find('.folder_select').removeClass('right').addClass('down')
            el.parent().parent().children(":first").nextAll('.folder').find('folder_select').removeClass('down').addClass('right')
            findFatherDom(el.parent().prev())
        } else {
            el.parent().children().show()
            return
        }
    }
    window.onload = function () {
        // const { url, salt } = GetUrlQuery();
        const head_obj = {
            portrait: arr.portrait,
        }
        let head_html = template('doc-head-tpl', head_obj);

        $('.doc-head .container').html(head_html)
        let _html = template('template-target-sidebar-list-tpl', {
            list: arr.children
        });

        $('.new').html(_html)
        let project_name_html = template('project-name-tpl', {
            project_name: arr.project_name
        });
        $('.box-first .title').html(project_name_html)

        $('.target.folder').find('.folder_select').removeClass('down').addClass('right')
        $('.target.folder').nextAll().hide()
        let urlLink = window.location.href;
        let id = urlLink.split('#')[1] ? urlLink.split('#')[1] : '001'
        if ($(`.target[data-target_id="${id}"]`).length > 0) {
            if (id != '001') {
                findFatherDom($(`.target[data-target_id="${id}"]`))
            }

            $(`.target[data-target_id="${id}"]`).trigger('click')
        } else {
            location.href = urlLink.split('#')[0] + "#001"
            return
        }
        var resize = document.getElementsByClassName("bar");
        var left = document.getElementsByClassName("box-first");
        var mid = document.getElementsByClassName("box-third");
        var box = document.getElementsByClassName("box");
        console.log(123434);
        dragControllerDiv(resize, left, mid, box);
        $('.target.folder').find('.folder_select').removeClass('down').addClass('right')
        $('.target.folder').nextAll().hide()

    }
    $('.body').show()
    $(document).on('click', '.target', function () {
        let _local_target_id = $(this).attr('data-target_id');
        let urlLink = window.location.href.split('#')[0] + '#' + _local_target_id;

        const { url, salt } = GetUrlQuery();
        const token = localStorage.getItem(`token${url}`);
        history.replaceState(null, null, urlLink)
        console.log(url);

        $('.target').each((i, el) => {
            $(el).removeClass('active')
        })
        if ($(this).attr('data-type') == 'folder') {
            $('.box-nav').show()
            $(this).nextAll().show()
            $(this).find('.folder_select').removeClass('right').addClass('down')
            $('.box-nav .folder').show()
            $('.box-nav .api').hide()
        } else if ($(this).attr('data-type') == 'example' || $(this).attr('data-type') == 'api') {
            $('.box-nav').show()
            $('.box-nav .api').show()
            $('.box-nav .folder').hide()
        } else {
            $('.box-nav').hide()
        }

        $(this).addClass('active')
        // if (_local_target_id == 001 || !_local_target_id) {
        //   return;
        // }
        let newdata = JSON.parse(JSON.stringify(arr))
        let LevelArr = []

        function levelTree(arr1, newarr) {
            arr1.forEach(item => {
                if (item.children && item.children.length > 0) {
                    newarr.push(item)
                    levelTree(item.children, newarr)
                } else {
                    newarr.push(item)
                }
            })
        }

        levelTree(newdata.children, LevelArr)
        LevelArr.forEach(item => {
            if (item.local_target_id == _local_target_id) {
                if (item.target_type == 'example' || item.target_type == 'api') {
                    switch (item.request.body.mode) {
                        case "none":
                            break;
                        case "form-data":
                            item.request.body.mode = "multipart/form-data";
                            break;
                        case "urlencoded":
                            item.request.body.mode = "application/x-www-form-urlencoded";
                            break;
                        case "json":
                            item.request.body.mode = "application/json";
                            break;
                        case "xml":
                            item.request.body.mode = "application/xml";
                            break;
                        case "javascript":
                            item.request.body.mode = "application/javascript";
                            break;
                        case "plain":
                            item.request.body.mode = "text/plain";
                            break;
                        case "html":
                            item.request.body.mode = "text/html";
                            break;
                    }
                    $('.template-nav-menu').html(template('template-nav-menu-tpl', item));
                    if (item.target_type != 'folder') {
                        let _export_data = new ClipboardJS('.CopyCurrentData', {
                            text: function (trigger) {
                                return trigger.getAttribute('data-clipboard-text');
                            }
                        });
                        console.log(_export_data);
                        _export_data.on('success', function (e) {
                            $('.CopyCurrentData').text('已复制').addClass('success');
                            e.clearSelection();
                        });
                        _export_data.on('error', function (e) {
                            console.log('失败');
                        });
                    }
                }
                arr?.project?.vars?.mark.forEach((it) => {
                    if (it.key == item.mark) {
                        if (it.color == '') {
                            if (item.mark == 'developing') {
                                item.markName = '开发中'
                                item.markColor = 'rgb(58, 134, 255)'
                            }
                            if (item.mark == 'complated') {
                                item.markName = '已完成'
                                item.markColor = 'rgb(46, 196, 182)'
                            }
                            if (item.mark == 'modifying') {
                                item.markName = '需修改'
                                item.markColor = 'rgb(236, 70, 70)'
                            }
                        } else {
                            item.markName = it.name
                            item.markColor = it.color
                        }
                    }
                })
                let _html = template('template-example-doc-tpl', item);
                $('.preview-markdown').html(_html)
                if (item.target_type == 'folder') {
                    const folderData = { ...item }
                    if (item.target_type == 'folder') {
                        folderData?.request?.header?.forEach((it, index) => !it.key && folderData.request?.header.splice(index, 1))
                        folderData?.request?.query?.forEach((it, index) => !it.key && folderData.request?.query.splice(index, 1))
                        folderData?.request?.body?.forEach((it, index) => !it.key && folderData.request?.body.splice(index, 1))
                    }
                    let _html = template('template-example-doc-tpl', folderData);
                    if ($('table.header tr').length <= 1) {
                        $('table.header').parent().hide()
                        $('table.header').parent().prev().hide()
                        $('.nav-folder-btn[data-id="1"]').hide()
                        // $('table.header tr').after('<tr><td colspan="4" style="text-align:center">暂无数据</td></tr>')
                    }
                    if ($('table.query tr').length <= 1) {
                        $('table.query').parent().hide()
                        $('table.query').parent().prev().hide()
                        $('.nav-folder-btn[data-id="2"]').hide()
                        // $('table.query tr').after('<tr><td colspan="4" style="text-align:center">暂无数据</td></tr>')
                    }
                    if ($('table.body tr').length <= 1) {
                        $('table.body').parent().hide()
                        $('table.body').parent().prev().hide()
                        $('.nav-folder-btn[data-id="3"]').hide()
                        // $('table.body tr').after('<tr><td colspan="4" style="text-align:center">暂无数据</td></tr>')
                    }
                    if ($('table.header tr').length <= 1 && $('table.query tr').length <= 1 && $('table.body tr').length <= 1) {
                        $('table.header').parents('.markdown-request').prev().hide()
                        $('.box-nav .nav-folder-btn[data-id="0"]').hide()
                        $('.preview-markdown .markdown-request').after('<div style="overflow: hidden;text-align: center;height: 100%;"><img src="https://img.cdn.apipost.cn/v6/docs/img/empty.svg" style="width:100px;margin: 70px auto 20px;;">暂无参数</div>')

                    }
                    hljs.initHighlighting();
                } else {
                    let _export_data = new ClipboardJS('.CopyCurrentData', {
                        text: function (trigger) {
                            return trigger.getAttribute('data-clipboard-text');
                        }
                    });
                    console.log(_export_data);
                    _export_data.on('success', function (e) {
                        $('.CopyCurrentData').text('已复制').addClass('success');
                        e.clearSelection();
                    });
                    _export_data.on('error', function (e) {
                        console.log('失败');
                    });
                    $('.CopyCurrentData').attr('data-clipboard-text', JSON.stringify(item));
                }
                try {
                    let obj = item.request.body.raw_para.map(item => {
                        let arr = item.key.split('.')
                        item.newKey = arr[arr.length - 1]
                        return item
                    })

                    let editor = new JsonEditor('#request_body_raw_editor_json', JSON5.parse($('#request_body_raw_editor_input').val()), {}, obj).load(JSON5.parse($('#request_body_raw_editor_input').val()), obj)
                } catch (e) {
                    console.log(e);
                }
                // 成功响应示例
                try {
                    let obj = item.response.success.parameter.map(item => {
                        let arr = item.key.split('.')
                        item.newKey = arr[arr.length - 1]
                        return item
                    })
                    let editor = new JsonEditor('#response_success_editor_json', JSON5.parse($('#response_success_editor_input').val()), {}, obj).load(JSON5.parse($('#response_success_editor_input').val()), obj)
                } catch (e) { console.log(e); }
                // 失败响应示例
                try {
                    let obj = item.response.error.parameter.map(item => {
                        let arr = item.key.split('.')
                        item.newKey = arr[arr.length - 1]
                        return item
                    })

                    let editor = new JsonEditor('#response_error_editor_json', JSON5.parse($('#response_error_editor_input').val()), {}, obj).load(JSON5.parse($('#response_error_editor_input').val()), obj)
                } catch (e) { console.log(e); }
                aptIndent.init();
            }
        })
        $("table").colResizable({
            liveDrag: true,
            gripInnerHtml: "<div class='grip'></div>",
            draggingClass: "dragging",
            resizeMode: 'fit'
        });
    })
        .on('click', '.control', function (e) {
            e.stopPropagation()
            let type = $(this).find('.folder_select').hasClass('down')
            if (type) {
                $(this).find('.folder_select').removeClass('down').addClass('right')
            } else {
                $(this).find('.folder_select').removeClass('right').addClass('down')
            }
            $(this).parents('.target').nextAll().toggle()
        })
        .on('input', '.search', function (e) {
            if (timer) {
                clearTimeout(timer);
            }
            timer = setTimeout(() => {
                let searchVal = $(this).val().toLocaleLowerCase()
                let TreeData = JSON.parse(JSON.stringify(arr.children))
                let searchArr = []
                let LevelArr = []
                let fatherArr = []
                function openTree(tree, parent_id) {
                    tree.forEach((item) => {
                        if (item.children && item.children.length > 0) {
                            openTree(item.children, item.local_target_id)
                        }
                        item.parent_id = parent_id
                    })
                }
                openTree(TreeData, 0);
                function levelTree(arr, newarr) {
                    arr.forEach(item => {
                        if (item.children && item.children.length > 0) {
                            newarr.push(item)
                            levelTree(item.children, newarr)
                        } else {
                            newarr.push(item)
                        }
                    })
                }
                levelTree(TreeData, LevelArr)
                if ($.trim(searchVal) != '') {
                    LevelArr.forEach(item => {
                        if (item.target_type == 'folder') {
                            if (item.name.toString().toLocaleLowerCase().indexOf(searchVal) > -1) {
                                searchArr.push(item)
                            }
                        } else {
                            if (item.name.toString().toLocaleLowerCase().indexOf(searchVal) > -1 || item.method.toString().toLocaleLowerCase().indexOf(searchVal) > -1) {
                                searchArr.push(item)
                            }
                        }
                    })
                    searchArr.forEach(item => {
                        findFather(fatherArr, LevelArr, item)
                    })

                    function findFather(tempArr, arr, self) {
                        if (self.parent_id != 0) {
                            arr.filter(item => {
                                if (self.parent_id == item.local_target_id) {
                                    findFather(tempArr, arr, item);
                                    if (tempArr.indexOf(item) === -1) {
                                        tempArr.push(item);
                                    }
                                }
                            })
                        }
                    }

                    let finnalArr = searchArr.concat(fatherArr)
                    $('.target').hide()
                    $('.target[data-target_id="001"]').show()
                    finnalArr.forEach(item => {
                        $(`.target[data-target_id="${item.local_target_id}"]`).parent().show()
                        $(`.target[data-target_id="${item.local_target_id}"]`).show()
                        $('.target.folder').find('.folder_select').removeClass('right').addClass('down')
                    })
                } else {
                    $('.target').parent().show()
                    $('.target').show()
                }
            }, 100)
        })
        .on('mouseover', '.target.api', function () {
            // $(this).find('em').css({ visibility: 'visible' })
        })
        .on('mouseleave', '.target.api', function () {
            // $(this).find('em').css({ visibility: 'hidden' })
        })
        .on('click', '.nav-btn', function () {
            let index = parseInt($(this).attr('data-id'))
            $('.nav-btn').removeClass('cur')
            $(this).addClass('cur')
            console.log(index, $('.box-third .title').eq(index)[0]);
            let top = $('.box-third .title').eq(index)[0].offsetTop
            $('.box-third').scrollTop(top)
        })
        .on('click', '.nav-folder-btn', function () {
            let index = parseInt($(this).attr('data-id'))
            $('.nav-folder-btn').removeClass('cur')
            $(this).addClass('cur')
            let top = $('.box-third .title').eq(index)[0].offsetTop
            $('.box-third').scrollTop(top)
        })
        .on('click', '.box-first .top', function () {
            $('.target').removeClass('active')
            $(this).addClass('active')
            const obj = { ...arr?.project }
            obj.create_dtime = arr?.create_time
            obj.expire_time = arr?.expire_time
            obj?.vars?.request?.header?.forEach((it, index) => {
                if (!it.key) {
                    obj?.vars?.request?.header?.splice(index, 1)
                }
            })
            obj?.vars?.request?.query?.forEach((it, index) => {
                if (!it.key) {
                    obj?.vars?.request?.query?.splice(index, 1)
                }
            })
            obj?.vars?.request?.body?.forEach((it, index) => {
                if (!it.key) {
                    obj?.vars?.request?.body?.splice(index, 1)
                }
            })
            let _html = template('golbal-env-tpl', obj);
            $('.preview-markdown').html(_html)
        })
        .on('click', 'h3.title', function () {
            let type = $(this).find('i').hasClass('fa-angle-down')
            if (type) {
                $(this).find('i').removeClass('fa-angle-down').addClass('fa-angle-left')
            } else {
                $(this).find('i').removeClass('fa-angle-left').addClass('fa-angle-down')
            }
            $(this).next().toggle()
        })
        .on('mouseover', '.export', function () {
            $(this).find('.export_panel').show()
        })
        .on('mouseleave', '.export', function () {
            $(this).find('.export_panel').hide()
        })
    $(".box-third").scroll(function () {
        let arr = []
        $('.box-third .title').each((i, el) => {
            arr.push($(el)[0].offsetTop)
        })
        arr.push(arr[arr.length - 1] + 10000)
        let topHeight = $(this).scrollTop();
        if ($('.target.active').hasClass('api')) {
            for (let index = 0; index < arr.length; index++) {
                if (arr[index] < topHeight && topHeight < arr[index + 1]) {
                    $('.nav-btn').removeClass('cur')
                    $('.nav-btn').eq(index).addClass('cur')
                }
            }
        } else {
            for (let index = 0; index < arr.length; index++) {
                if (arr[index] < topHeight && topHeight < arr[index + 1]) {
                    $('.nav-folder-btn').removeClass('cur')
                    $('.nav-folder-btn').eq(index).addClass('cur')
                }
            }
        }
    });
</script>

</body>

</html>
